Makefile.inc: Remove all-y with CONFIG_ARCH_xx guards
The assumption up to this point was that if the system had an x86 processor, verstage would be running on the x86 processor. With running verstage on the PSP, that assumption no longer holds true, so exclude pieces of code that cause problems for verstage on the PSP. As a generalization, remove all-y for CONFIG_ARCH_xx guarded makefiles. BUG=b:158124527 TEST=Build and boot on Trembyle Signed-off-by: Martin Roth <martin@coreboot.org> Change-Id: Ia7dcfed699ee1c0cd5a5250431c5f05bf6d8b9c7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/42221 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
This commit is contained in:
parent
6b303d54aa
commit
cbf6e6bdba
2 changed files with 46 additions and 18 deletions
|
|
@ -1,6 +1,10 @@
|
|||
ifeq ($(CONFIG_ARCH_X86),y)
|
||||
|
||||
all-$(CONFIG_DRIVERS_MC146818) += mc146818rtc_boot.c
|
||||
bootblock-$(CONFIG_DRIVERS_MC146818) += mc146818rtc_boot.c
|
||||
verstage-$(CONFIG_DRIVERS_MC146818) += mc146818rtc_boot.c
|
||||
postcar-$(CONFIG_DRIVERS_MC146818) += mc146818rtc_boot.c
|
||||
romstage-$(CONFIG_DRIVERS_MC146818) += mc146818rtc_boot.c
|
||||
ramstage-$(CONFIG_DRIVERS_MC146818) += mc146818rtc_boot.c
|
||||
|
||||
bootblock-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
|
||||
postcar-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
|
||||
|
|
@ -8,10 +12,18 @@ romstage-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
|
|||
ramstage-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
|
||||
smm-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
|
||||
|
||||
all-$(CONFIG_USE_OPTION_TABLE) += option.c
|
||||
bootblock-$(CONFIG_USE_OPTION_TABLE) += option.c
|
||||
verstage-$(CONFIG_USE_OPTION_TABLE) += option.c
|
||||
postcar-$(CONFIG_USE_OPTION_TABLE) += option.c
|
||||
romstage-$(CONFIG_USE_OPTION_TABLE) += option.c
|
||||
ramstage-$(CONFIG_USE_OPTION_TABLE) += option.c
|
||||
smm-$(CONFIG_USE_OPTION_TABLE) += option.c
|
||||
|
||||
all-$(CONFIG_CMOS_POST) += post.c
|
||||
bootblock-$(CONFIG_CMOS_POST) += post.c
|
||||
verstage-$(CONFIG_CMOS_POST) += post.c
|
||||
postcar-$(CONFIG_CMOS_POST) += post.c
|
||||
romstage-$(CONFIG_CMOS_POST) += post.c
|
||||
ramstage-$(CONFIG_CMOS_POST) += post.c
|
||||
|
||||
ifeq ($(CONFIG_USE_OPTION_TABLE),y)
|
||||
cbfs-files-$(CONFIG_HAVE_CMOS_DEFAULT) += cmos.default
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue