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: 145850 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3361070ljw; Tue, 4 Sep 2018 00:48:14 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaY/5K//doGitwlIy+ILlN8mZbZdSHWrMuw96PhEIpnsVa393sD9kd9WMSlZTa7XFIrjxNQ X-Received: by 2002:a17:902:28c1:: with SMTP id f59-v6mr24896542plb.56.1536047294623; Tue, 04 Sep 2018 00:48:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536047294; cv=none; d=google.com; s=arc-20160816; b=zXC14WwFpLFoq2iO3Lk6ya+gNtoQ8A7ctzZ25bm+xRGszo+b25PUv7xf8n7Wn+6Z1E TkmkP+FF28d71ZAGpvQ0sh19bOfE2F/vcANalyP9Enu+ZI1vGh+ZIvadoiHlzsRCTv+b b/SGm9kMb0P2FO1AGenOgr0uOc9gW68tCBa6mKPil6ATqUzRca8fnlBswss5Ps0uhJgU Eea2vFU6lXODROOzoVKQjkdrmbGo8yrb1dfKP/KezrPcb6yOcBnVYEdAWs6FBU/L3YJv 7HnYW37ZlSnq7yXAohb5XdisKUthd6lLnLeD3HFDROAIhg0rhNXUjb+O4XSegPDZQsrI egJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=X5e41xD3IT3k/vcUJIYJMRzxC9Nm6bJRJoxZRGxuD6k=; b=D1MBT5dlH8sDOgTFjbCoeU1cGMOEi+z1cXPDEKe4fK/QjPwvrNz6J7f5KOjoB8EjJH OZwvcaNVYpB7nwHS9qeZQCZmdg4KFwQ2A9k0JcEBqs2bozynsblbr459mjNOyWNp4E/2 cYIWcq7O92R/i9inhrQCJ6/eYcFeIe4BqpNXHmjIyhsQsN+ppLV3/KihuklLpQsub5tD kk0DpwsL+JS01zNwnwQ1U9JxeO2n18e3b1dCHHey0dJlFEJ295JIBpjCAsPlLTcrnv4Z 9K5G1v0qNwqRDMAZw6Sk3k/hRRdWAyF78HIxQ8Itj6zfzKI93M9nD1FMPjfdTARmK9uk F/+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=aim8sw9O; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w3-v6si15611304ply.370.2018.09.04.00.48.14; Tue, 04 Sep 2018 00:48:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=aim8sw9O; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726154AbeIDMMI (ORCPT + 6 others); Tue, 4 Sep 2018 08:12:08 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:60136 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726108AbeIDMMI (ORCPT ); Tue, 4 Sep 2018 08:12:08 -0400 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: , , , , CC: , , , 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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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(+) -- 1.9.1 -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki 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