x86: Move setjmp 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:
Simon Glass 2017-01-16 07:04:20 -07:00 committed by Bin Meng
parent 8cfc966c77
commit 4d3ac6c326
3 changed files with 1 additions and 3 deletions

View File

@ -14,9 +14,6 @@ else
extra-y = start.o
endif
extra-$(CONFIG_$(SPL_)X86_16BIT_INIT) += resetvec.o start16.o
ifndef CONFIG_$(SPL_)X86_64
obj-y += setjmp.o
endif
obj-y += cpu.o cpu_x86.o

View File

@ -6,3 +6,4 @@
obj-y += call64.o
obj-y += cpu.o
obj-y += interrupt.o
obj-y += setjmp.o