cpu/x86/64bit/Makefile: use verstage_x86 make target
Use the 'verstage_x86' make target for the mode_switch.S compilation unit instead of making adding it to the 'verstage' target depending on VBOOT_STARTS_BEFORE_BOOTBLOCK not being selected. The only case where VBOOT_STARTS_BEFORE_BOOTBLOCK is selected is the verstage on PSP case, so I find using the 'verstage_x86' target here a bit easier to understand. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Iab618d4b9e325b07a648b91fcdce99c63644fbfc Reviewed-on: https://review.coreboot.org/c/coreboot/+/74196 Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
c84c12d51c
commit
549528d4a2
|
@ -1,7 +1,5 @@
|
||||||
bootblock-y += mode_switch.S
|
bootblock-y += mode_switch.S
|
||||||
ifneq ($(CONFIG_VBOOT_STARTS_BEFORE_BOOTBLOCK),y)
|
verstage_x86-y += mode_switch.S
|
||||||
verstage-y += mode_switch.S
|
|
||||||
endif
|
|
||||||
romstage-y += mode_switch.S
|
romstage-y += mode_switch.S
|
||||||
postcar-y += mode_switch.S
|
postcar-y += mode_switch.S
|
||||||
ramstage-y += mode_switch.S
|
ramstage-y += mode_switch.S
|
||||||
|
|
Loading…
Reference in New Issue