x86: Fix rom version build with CONFIG_X86_RESET_VECTOR
PATCH v2 1/2 x86: Fix rom version build with CONFIG_X86_RESET_VECTOR
When building U-Boot with CONFIG_X86_RESET_VECTOR, the linking process misses the resetvec.o and start16.o so it cannot generate the rom version of U-Boot. The arch/x86/cpu/Makefile is updated to pull them into the final linking process.
--- arch/x86/cpu/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/cpu/Makefile +2 -2
@@ -9,5 +9,5 @@ # extra-y = start.o -extra-$(CONFIG_X86_RESET_VECTOR) += resetvec.o start16.o -obj-y = interrupts.o cpu.o +obj-$(CONFIG_X86_RESET_VECTOR) += resetvec.o start16.o +obj-y += interrupts.o cpu.o
Signature · 1 line
1.8.2.1
PATCH v2 1/2 x86: Fix rom version build with CONFIG_X86_RESET_VECTOR
Quoted 6 lines · Bin Meng
When building U-Boot with
CONFIG_X86_RESET_VECTOR, the linking process misses the resetvec.o and start16.o so it cannot generate the rom version of U-Boot. Thearch/x86/cpu/Makefileis updated to pull them into the final linking process.Signed-off-by Bin Meng <[email protected]>
PATCH v2 1/2 x86: Fix rom version build with CONFIG_X86_RESET_VECTOR
Quoted 9 lines · Simon Glass
Quoted 6 lines · Bin Meng
When building U-Boot with
CONFIG_X86_RESET_VECTOR, the linking process misses the resetvec.o and start16.o so it cannot generate the rom version of U-Boot. Thearch/x86/cpu/Makefileis updated to pull them into the final linking process.Signed-off-by Bin Meng <[email protected]>Acked-by Simon Glass <[email protected]>
Applied to u-boot-x86/master, thanks!