diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2014-10-16 22:58:20 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-10-22 09:03:07 -0600 |
commit | fb00601ed6b8e9eca9d85c606de08cbd76b9d05f (patch) | |
tree | 99d96b5f2d5254991f98804ac77797b4cb02d24a /arch/x86 | |
parent | 90268b878bd830f2fc9b1e225d96009efe331cd1 (diff) |
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')
-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 415bc24989..e7bb3e33d5 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 |