diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-07-31 19:25:32 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-07-31 19:35:05 +0200 |
commit | 94dec60d75af4bfe87d51f6b7b05074bc69e40cd (patch) | |
tree | 83031fb659f2572bce2e22376689c0b459ac873f | |
parent | 468a9b7a7744478e6225816aa6153c9db0155810 (diff) | |
download | upstream-94dec60d75af4bfe87d51f6b7b05074bc69e40cd.tar.gz upstream-94dec60d75af4bfe87d51f6b7b05074bc69e40cd.tar.bz2 upstream-94dec60d75af4bfe87d51f6b7b05074bc69e40cd.zip |
build: add template for installing device .dtb files
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r-- | include/image-commands.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/image-commands.mk b/include/image-commands.mk index 790e9297ca..160b5d8833 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -46,6 +46,14 @@ define Build/append-dtb cat $@.dtb >> $@ endef +define Build/install-dtb + $(foreach dts,$(DEVICE_DTS), \ + $(CP) \ + $(DTS_DIR)/$(dts).dtb \ + $(BIN_DIR)/$(IMG_PREFIX)-$(dts).dtb; \ + ) +endef + define Build/fit $(TOPDIR)/scripts/mkits.sh \ -D $(DEVICE_NAME) -o $@.its -k $@ \ |