UPSTREAM: motherboard/amd: Clean up bettong, gardenia makefiles

Declutter the conditional building of fchec.c.  Use the CONFIG
setting directly instead of ifeq ().

BUG=None
BRANCH=None
TEST=None

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>

Change-Id: I6d3721764e66e5615a639c1979d60ff1291b5d33
Reviewed-on: https://chromium-review.googlesource.com/422566
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Marshall Dawson 2016-12-16 12:01:24 -05:00 committed by chrome-bot
parent caf26d9f82
commit f314901d6f
2 changed files with 2 additions and 6 deletions

View file

@ -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

View file

@ -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