summaryrefslogtreecommitdiff
path: root/src/vendorcode/google/chromeos
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2012-11-13 14:06:38 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-11-16 01:11:31 +0100
commit4dfdebadb6731bc291e30560cbd2f107a3c94b75 (patch)
tree63a02902a28df4d0bdbdc7c453fcf674cbcc42d9 /src/vendorcode/google/chromeos
parentbf5a7dc3121fa75d40099662b67c9795a2c61983 (diff)
Reduce number of per-mainboard changes
- Add mainboard_smi.c from arch/x86/Makefile if it's there - Add mainboard's chromeos.c from the chromeos Makefile Change-Id: I3f80e2cb368f88d2a38036895a19f3576dd9553b Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/1835 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/vendorcode/google/chromeos')
-rw-r--r--src/vendorcode/google/chromeos/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vendorcode/google/chromeos/Makefile.inc b/src/vendorcode/google/chromeos/Makefile.inc
index b2f3d351f0..967db963c4 100644
--- a/src/vendorcode/google/chromeos/Makefile.inc
+++ b/src/vendorcode/google/chromeos/Makefile.inc
@@ -26,3 +26,7 @@ ramstage-y += gnvs.c
romstage-y += fmap.c
ramstage-y += fmap.c
smm-y += fmap.c
+ifneq ($(wildcard src/mainboard/$(MAINBOARDDIR)/chromeos.c),)
+ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/chromeos.c
+romstage-srcs += src/mainboard/$(MAINBOARDDIR)/chromeos.c
+endif