summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/gardenia
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/gardenia
parent28cc06fe0e04cd63021ab396e6476ced947a3627 (diff)
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/gardenia')
-rw-r--r--src/mainboard/amd/gardenia/Makefile.inc4
1 files changed, 1 insertions, 3 deletions
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