]> git.sur5r.net Git - u-boot/blobdiff - arch/x86/Makefile
power: regulator: lp87565: get_enable should return integer
[u-boot] / arch / x86 / Makefile
index d104a497301dd3e41b828a03beda6178e40fbae8..4be1c353cc9e2bcb1a396938a28f355136a1caaf 100644 (file)
@@ -3,12 +3,15 @@
 #
 
 ifeq ($(CONFIG_EFI_APP),)
+ifdef CONFIG_$(SPL_)X86_64
+head-y := arch/x86/cpu/start64.o
+else
 head-y := arch/x86/cpu/start.o
 endif
-ifeq ($(CONFIG_SPL_BUILD),y)
-head-y += arch/x86/cpu/start16.o
-head-y += arch/x86/cpu/resetvec.o
 endif
 
+head-$(CONFIG_$(SPL_)X86_16BIT_INIT) += arch/x86/cpu/start16.o
+head-$(CONFIG_$(SPL_)X86_16BIT_INIT) += arch/x86/cpu/resetvec.o
+
 libs-y += arch/x86/cpu/
 libs-y += arch/x86/lib/