From patchwork Tue Aug 28 12:32:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 10578375 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9BBF2174A for ; Tue, 28 Aug 2018 12:34:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8B6522955D for ; Tue, 28 Aug 2018 12:34:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7E64F2A00C; Tue, 28 Aug 2018 12:34:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 249862955D for ; Tue, 28 Aug 2018 12:34:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=15r0jBHdlruaAbRKb8ltS5243YLubWBAqzSV9sq6sPE=; b=PeqpQ9kaCEvHuN kl1KqXXYQErNklIizT8KmANWVQPPH6zMrdvCabqdaMA09l/9fnE6d8drOFT6wkW/fgP4RKhBJwOF8 8C/pITJNoB6yaclCjhcIGnOaYBue+/6azSsXggO0hK5F3tWsVbDHwTaq2FR4+c/2MKXeUAyuZfL8y sudfwEFGSaBPfFCtXRXEjHsPjrc6Wb6PWG7uRsP4pyq/xHpBJSsIgftjxbaST+HDM/q5tLIcnWwwQ /kZciwWJTGMcKKsFuWLrRf7zFXEGdw+qyhDAoaONFI3/GDN7/2+15LXE8ZJAZeyXOUv9JX+G4HQUb HWpi7W9dznDrgEZC5Teg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fudCe-0005G7-On; Tue, 28 Aug 2018 12:34:36 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fudBJ-0004YK-Ch for linux-arm-kernel@lists.infradead.org; Tue, 28 Aug 2018 12:33:15 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id w7SCWjWV066676; Tue, 28 Aug 2018 07:32:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1535459565; bh=DHXzzMUVwIPIkaDTtAxemzyEli+wOEziBKRYq8V/+bQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=pgCqc3WZlV2Y0ASwzIi22HcNSyR8mpD8Yc7UbO5WfYU3mGTQIJqWKiRsfz82CjkEH 8SujfMgB8vWPMMMwiHwxLsgwDwNtdM7OLIVv1FN6TbZjiaM4krZeBLXqcNRVkugTgZ qCQH8bdNCgIkgO9pjIwiA+EkHwGKK7JA7gBzo9yk= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7SCWjsN011571; Tue, 28 Aug 2018 07:32:45 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 28 Aug 2018 07:32:41 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 28 Aug 2018 07:32:41 -0500 Received: from gomoku.home (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7SCWaPs018414; Tue, 28 Aug 2018 07:32:39 -0500 From: Tero Kristo To: , , , , Subject: [PATCH 1/7] kbuild: add support for building %.dtbo targets Date: Tue, 28 Aug 2018 15:32:06 +0300 Message-ID: <1535459532-17211-2-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1535459532-17211-1-git-send-email-t-kristo@ti.com> References: <1535459532-17211-1-git-send-email-t-kristo@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180828_053313_520064_FB9CAB7D X-CRM114-Status: GOOD ( 14.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add support for building DT overlay targets, which can be applied either runtime or statically on top of base devicetree blobs. The only supported runtime application of overlays right now is during bootloader execution; if the bootloader in question supports this. Signed-off-by: Tero Kristo Reviewed-by: Geert Uytterhoeven --- scripts/Makefile.lib | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 61e5966..527aab9 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -292,6 +292,9 @@ cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \ $(obj)/%.dtb: $(src)/%.dts $(DTC) FORCE $(call if_changed_dep,dtc) +$(obj)/%.dtbo: $(src)/%.dtso $(DTC) FORCE + $(call if_changed_dep,dtc) + dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp) # Bzip2