summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2014-10-16 22:58:20 +0800
committerSimon Glass <sjg@chromium.org>2014-10-22 09:03:07 -0600
commitfb00601ed6b8e9eca9d85c606de08cbd76b9d05f (patch)
tree99d96b5f2d5254991f98804ac77797b4cb02d24a
parent90268b878bd830f2fc9b1e225d96009efe331cd1 (diff)
downloadu-boot-imx-fb00601ed6b8e9eca9d85c606de08cbd76b9d05f.zip
u-boot-imx-fb00601ed6b8e9eca9d85c606de08cbd76b9d05f.tar.gz
u-boot-imx-fb00601ed6b8e9eca9d85c606de08cbd76b9d05f.tar.bz2
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>
-rw-r--r--arch/x86/cpu/Makefile4
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