x86: Move call64 to the i386 directory
This code is only used in 32-bit mode. Move it so that it does not get built with 64-bit U-Boot. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
337705833c
commit
8cfc966c77
|
@ -15,7 +15,7 @@ extra-y = start.o
|
||||||
endif
|
endif
|
||||||
extra-$(CONFIG_$(SPL_)X86_16BIT_INIT) += resetvec.o start16.o
|
extra-$(CONFIG_$(SPL_)X86_16BIT_INIT) += resetvec.o start16.o
|
||||||
ifndef CONFIG_$(SPL_)X86_64
|
ifndef CONFIG_$(SPL_)X86_64
|
||||||
obj-y += call64.o setjmp.o
|
obj-y += setjmp.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
obj-y += cpu.o cpu_x86.o
|
obj-y += cpu.o cpu_x86.o
|
||||||
|
|
|
@ -3,5 +3,6 @@
|
||||||
# Written by Simon Glass <sjg@chromium.org>
|
# Written by Simon Glass <sjg@chromium.org>
|
||||||
#
|
#
|
||||||
|
|
||||||
|
obj-y += call64.o
|
||||||
obj-y += cpu.o
|
obj-y += cpu.o
|
||||||
obj-y += interrupt.o
|
obj-y += interrupt.o
|
||||||
|
|
Loading…
Reference in New Issue