]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - Makefile
x86: crownbay: Remove unused PCI region address macros
[people/ms/u-boot.git] / Makefile
index d4c35ba09d71468b9b78e9e0da26d7e37efaa2dc..61050adb13f52f54a43d1ea6f8e0e6612157a29c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier:     GPL-2.0+
+#
+
 VERSION = 2015
 PATCHLEVEL = 10
 SUBLEVEL =
@@ -605,6 +609,8 @@ KBUILD_CFLAGS += $(KCFLAGS)
 UBOOTINCLUDE    := \
                -Iinclude \
                $(if $(KBUILD_SRC), -I$(srctree)/include) \
+               $(if $(CONFIG_SYS_THUMB_BUILD), $(if $(CONFIG_HAS_THUMB2),, \
+                       -I$(srctree)/arch/$(ARCH)/thumb1/include),) \
                -I$(srctree)/arch/$(ARCH)/include \
                -include $(srctree)/include/linux/kconfig.h
 
@@ -1130,7 +1136,11 @@ spl/u-boot-spl.pbl: spl/u-boot-spl.bin FORCE
        $(call if_changed,mkimage)
 
 ifeq ($(ARCH),arm)
+ifdef CONFIG_DM
+UBOOT_BINLOAD := u-boot-dtb.img
+else
 UBOOT_BINLOAD := u-boot.img
+endif
 else
 UBOOT_BINLOAD := u-boot.bin
 endif