summaryrefslogtreecommitdiff
path: root/src/mainboard/amd
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2016-12-16 12:01:24 -0500
committerMartin Roth <martinroth@google.com>2016-12-19 17:44:00 +0100
commit6e404823068e6cacaff7319e426298ba045b03d5 (patch)
tree44bfa52288c1d9fcdc74ca2763ca2d7e6bc78ce6 /src/mainboard/amd
parent28cc06fe0e04cd63021ab396e6476ced947a3627 (diff)
downloadcoreboot-6e404823068e6cacaff7319e426298ba045b03d5.tar.xz
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> Reviewed-on: https://review.coreboot.org/17902 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
Diffstat (limited to 'src/mainboard/amd')
-rw-r--r--src/mainboard/amd/bettong/Makefile.inc4
-rw-r--r--src/mainboard/amd/gardenia/Makefile.inc4
2 files changed, 2 insertions, 6 deletions
diff --git a/src/mainboard/amd/bettong/Makefile.inc b/src/mainboard/amd/bettong/Makefile.inc
index 99159e8548..cfcc9c0744 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 0994a70aef..72cd042ebf 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