Marshall Dawson (marshalldawson3rd@gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17902
-gerrit
commit 8a8d53b31677f6a16c6a11077301b287712e8a3a Author: Marshall Dawson marshalldawson3rd@gmail.com Date: Fri Dec 16 12:01:24 2016 -0500
motherboard/amd: Clean up bettong, gardenia makefiles
Declutter the conditional building of fchec.c. Use the CONFIG setting directly instead of ifeq ().
Change-Id: I6d3721764e66e5615a639c1979d60ff1291b5d33 Signed-off-by: Marshall Dawson marshalldawson3rd@gmail.com --- src/mainboard/amd/bettong/Makefile.inc | 4 +--- src/mainboard/amd/gardenia/Makefile.inc | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/mainboard/amd/bettong/Makefile.inc b/src/mainboard/amd/bettong/Makefile.inc index 99159e8..cfcc9c0 100644 --- a/src/mainboard/amd/bettong/Makefile.inc +++ b/src/mainboard/amd/bettong/Makefile.inc @@ -19,7 +19,5 @@ romstage-y += boardid.c
ramstage-y += BiosCallOuts.c ramstage-y += OemCustomize.c -ifeq ($(CONFIG_HUDSON_IMC_FWM), y) -ramstage-y += fchec.c -endif +ramstage-$(CONFIG_HUDSON_IMC_FWM) += fchec.c ramstage-y += boardid.c diff --git a/src/mainboard/amd/gardenia/Makefile.inc b/src/mainboard/amd/gardenia/Makefile.inc index 0994a70..72cd042 100644 --- a/src/mainboard/amd/gardenia/Makefile.inc +++ b/src/mainboard/amd/gardenia/Makefile.inc @@ -18,6 +18,4 @@ romstage-y += OemCustomize.c
ramstage-y += BiosCallOuts.c ramstage-y += OemCustomize.c -ifeq ($(CONFIG_HUDSON_IMC_FWM), y) -ramstage-y += fchec.c -endif +ramstage-$(CONFIG_HUDSON_IMC_FWM) += fchec.c