X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=dts%2FMakefile;h=d3122aa3b96eeaa8820300060c958bcb5cf1d6dd;hb=4ad5bded8af6a1ee161b4bf339fa683e1739684f;hp=9907463fc6344d524d9ea415db5112573c6e1a8b;hpb=3284c8b8cad9452bf0711f52699bc9a5aeb83319;p=karo-tx-uboot.git diff --git a/dts/Makefile b/dts/Makefile index 9907463fc6..d3122aa3b9 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/sandbox/dts ../arch/x86/dts