diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2014-10-16 14:58:20 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-10-22 15:03:07 (GMT) |
commit | fb00601ed6b8e9eca9d85c606de08cbd76b9d05f (patch) | |
tree | 99d96b5f2d5254991f98804ac77797b4cb02d24a /arch/x86/cpu/Makefile | |
parent | 90268b878bd830f2fc9b1e225d96009efe331cd1 (diff) | |
download | u-boot-fb00601ed6b8e9eca9d85c606de08cbd76b9d05f.tar.xz |
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>
Diffstat (limited to 'arch/x86/cpu/Makefile')
-rw-r--r-- | arch/x86/cpu/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/cpu/Makefile b/arch/x86/cpu/Makefile index 415bc24..e7bb3e3 100644 --- a/arch/x86/cpu/Makefile +++ b/arch/x86/cpu/Makefile @@ -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 |