]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/x86/Makefile
x86: Add support for U-Boot as an EFI application
[karo-tx-uboot.git] / arch / x86 / Makefile
index 36a601822a204c476be6f129e2c810498763c765..d104a497301dd3e41b828a03beda6178e40fbae8 100644 (file)
@@ -2,7 +2,9 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
+ifeq ($(CONFIG_EFI_APP),)
 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