From 4dfdebadb6731bc291e30560cbd2f107a3c94b75 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 13 Nov 2012 14:06:38 -0800 Subject: 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 Reviewed-on: http://review.coreboot.org/1835 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/vendorcode/google/chromeos/Makefile.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/vendorcode/google') 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 -- cgit v1.2.3