From patchwork Tue Sep 4 07:47:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 10586915 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 4DBE8112B for ; Tue, 4 Sep 2018 07:48:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3C10928E9F for ; Tue, 4 Sep 2018 07:48:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2DA6A28EA1; Tue, 4 Sep 2018 07:48:32 +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 B960F28E9F for ; Tue, 4 Sep 2018 07:48:31 +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=gMvtiN88t7UKY6eHBQrDtSUDg4Itcp7xtvB+LzkdWGo=; b=YCiZavCSzv9SbG DS3/lklEBspjJLORrgf/Fr/WHcqHbTUAYbAulBoZ7Wg/1bEkSwKgr9maTK7K0Ep35HrNIcdzaXuos J3ZmbunCkanGal06Dl19RP2tG6En4MjSY2iDjSp+sEE/Cdo2SseIi7IPsn3MtteHGDMhtEqgxjTJD wLlwhHU8f5gy0qZ7fmAvGet/OwXnvA7h8He6kuP3amVZLRva2mIMMqCE7chHD56JgXIRGnlhCKd9j PDV8e63BXPH/koGy5mG1qSpvkek3+ZhrcAUlnBD3inT/zdUtnFZPFUVtNNeLmFsiYkMtSLaqXBtvy iSpAaaXefmLfabNmYFqQ==; 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 1fx64Z-0002Ry-NB; Tue, 04 Sep 2018 07:48:27 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fx64J-0002Qx-GG for linux-arm-kernel@lists.infradead.org; Tue, 04 Sep 2018 07:48:13 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id w847lfqH105253; Tue, 4 Sep 2018 02:47:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1536047261; bh=X5e41xD3IT3k/vcUJIYJMRzxC9Nm6bJRJoxZRGxuD6k=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=aim8sw9OsREO8Ma7l0rvZnh8hgsyeEe542NLwf23r4enBZghzpJauvpWtYZBRT2G9 0qMyt+jao9F6ijp70ELUk/Oldg3rljMNQaFca6p4xs9Jd6nL7eo+CHPahOW8GmCuoU zg9RBDpw0XpMN+yh/svo1ww+MPc7MhXmgrgjUNQI= Received: from DLEE110.ent.ti.com (dlee110.ent.ti.com [157.170.170.21]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w847lfXG001515; Tue, 4 Sep 2018 02:47:41 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 4 Sep 2018 02:47:41 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 4 Sep 2018 02:47:41 -0500 Received: from gomoku.home (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w847lbmc002009; Tue, 4 Sep 2018 02:47:38 -0500 From: Tero Kristo To: , , , , Subject: [RESEND PATCHv2] kbuild: add support for building %.dtbo targets Date: Tue, 4 Sep 2018 10:47:24 +0300 Message-ID: <1536047244-9804-1-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1535719269-13492-1-git-send-email-t-kristo@ti.com> References: <1535719269-13492-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-20180904_004811_601663_2D55F5B9 X-CRM114-Status: GOOD ( 12.14 ) 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: mark.rutland@arm.com, devicetree@vger.kernel.org, tony@atomide.com, 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 --- v2: no changes, just split up the series into parts RESEND: just added Frank back to delivery, whom I accidentally dropped 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