[OpenWrt-Devel] [PATCH] include/image.mk: Add dtb-install build function

Petr Štetiar ynezz at true.cz
Tue Dec 1 05:43:50 EST 2015


Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 include/image.mk |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/image.mk b/include/image.mk
index fd5e3f4..362643c 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -433,6 +433,10 @@ define Build/sysupgrade-nand
 		$@
 endef
 
+define Build/dtb-install
+	cp $(DTS_DIR)/$(DEVICE_DTS).dtb $(BIN_DIR)/$(IMG_PREFIX)-$(DEVICE_DTS).dtb
+endef
+
 define Device/Init
   PROFILES := $(PROFILE)
   DEVICE_NAME := $(1)
-- 
1.7.9.5
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list