X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=dts%2FMakefile;h=c4ac153ef3602bf6f2a66128d3bb63a3ffbcb416;hb=b38eaec53570821043c94ad44eabcb23747d9969;hp=9907463fc6344d524d9ea415db5112573c6e1a8b;hpb=4c89a369c7cd6e7ad3adec4601cfa69fec476164;p=u-boot diff --git a/dts/Makefile b/dts/Makefile index 9907463fc6..c4ac153ef3 100644 --- a/dts/Makefile +++ b/dts/Makefile @@ -12,13 +12,14 @@ ifeq ($(DEVICE_TREE),) DEVICE_TREE := unset endif +ifneq ($(EXT_DTB),) +DTB := $(EXT_DTB) +else DTB := arch/$(ARCH)/dts/$(DEVICE_TREE).dtb - -quiet_cmd_copy = COPY $@ - cmd_copy = cp $< $@ +endif $(obj)/dt.dtb: $(DTB) FORCE - $(call if_changed,copy) + $(call if_changed,shipped) targets += dt.dtb @@ -44,4 +45,4 @@ dtbs: $(obj)/dt.dtb clean-files := dt.dtb.S # Let clean descend into dts directories -subdir- += ../arch/*/dts +subdir- += ../arch/arm/dts ../arch/microblaze/dts ../arch/mips/dts ../arch/sandbox/dts ../arch/x86/dts