summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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