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