From patchwork Tue Dec 1 10:43:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Petr_=C5=A0tetiar?= X-Patchwork-Id: 550776 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 5F75A1401DE for ; Tue, 1 Dec 2015 21:44:23 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id DBE5528C0E9; Tue, 1 Dec 2015 11:43:53 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id E4B6E28C0D1 for ; Tue, 1 Dec 2015 11:43:48 +0100 (CET) X-policyd-weight: using cached result; rate: -6.6 Received: from mengele.ibawizard.net (ibawizard.net [82.208.49.253]) by arrakis.dune.hu (Postfix) with ESMTP for ; Tue, 1 Dec 2015 11:43:48 +0100 (CET) Received: from localhost.localdomain (localhost [127.0.0.1]) by mengele.ibawizard.net (Postfix) with ESMTP id 9BD911D36050; Tue, 1 Dec 2015 11:43:49 +0100 (CET) From: =?UTF-8?q?Petr=20=C5=A0tetiar?= To: openwrt-devel@lists.openwrt.org Date: Tue, 1 Dec 2015 11:43:50 +0100 Message-Id: <1448966630-18520-1-git-send-email-ynezz@true.cz> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Subject: [OpenWrt-Devel] [PATCH] include/image.mk: Add dtb-install build function X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Signed-off-by: Petr Štetiar --- 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)