diff options
Diffstat (limited to 'dts/Makefile')
-rw-r--r-- | dts/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/dts/Makefile b/dts/Makefile index e59550c..d3122aa 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 |