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.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Bin Meng 2014-10-16 22:58:20 +08:00 committed by Simon Glass
parent 90268b878b
commit fb00601ed6
1 changed files with 2 additions and 2 deletions

View File

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