]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - dts/Makefile
arc: No need in sections defined in sources with newer tools
[people/ms/u-boot.git] / dts / Makefile
index 3fca5f5c2f5df968b9b924c97d873a478ca222a7..c4ac153ef3602bf6f2a66128d3bb63a3ffbcb416 100644 (file)
@@ -12,7 +12,11 @@ ifeq ($(DEVICE_TREE),)
 DEVICE_TREE := unset
 endif
 
+ifneq ($(EXT_DTB),)
+DTB := $(EXT_DTB)
+else
 DTB := arch/$(ARCH)/dts/$(DEVICE_TREE).dtb
+endif
 
 $(obj)/dt.dtb: $(DTB) FORCE
        $(call if_changed,shipped)
@@ -41,4 +45,4 @@ dtbs: $(obj)/dt.dtb
 clean-files := dt.dtb.S
 
 # Let clean descend into dts directories
-subdir- += ../arch/arm/dts ../arch/microblaze/dts ../arch/sandbox/dts ../arch/x86/dts
+subdir- += ../arch/arm/dts ../arch/microblaze/dts ../arch/mips/dts ../arch/sandbox/dts ../arch/x86/dts