From patchwork Fri Aug 31 12:41:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 145603 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp733388ljw; Fri, 31 Aug 2018 05:41:54 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYjCAsXkwBHcTp3ygJVWVWuCk8ueIoX1E/wZYqg5fe5NcwDNE4rcTyYwY0ZAPJZ3Brb9YUu X-Received: by 2002:a62:7a01:: with SMTP id v1-v6mr15593661pfc.153.1535719313974; Fri, 31 Aug 2018 05:41:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535719313; cv=none; d=google.com; s=arc-20160816; b=IPIlZxHLrohljSigstw1zAbXMexTjdS1zGH6lKd20Kt91q+gxGvR7dEyNwBNh8Jsel Far+IfoiLDEDWwb8PD/dUgmVu9IMDhRCjSS/lW3MLCH//0YRCL0SdIRxecuzJgGPNMpN mBr8NxrPv1EBhsZ+08ab32I3nFoEm432HlmiiJqZ8OWVC0EyXrsSqii7dubKeOXLSuBn GjCgLs5J2q6jUQjUfkOsEpQdi1x3ma+OhLAS9TrGfq8KwFEXL9egTk3WKMnAncvYbi0y chndioR/e8PLezB0x/qexL+GsISB6WSDD/LudOGK2C6iyBjWmMtYX+3DPZlgd46/QhJ+ CvSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature:arc-authentication-results; bh=0mEHjvWkkunb1YeWPy6cn3I8NddyLEASHhMiUp5rjJU=; b=AJUkFU908+myOjgT284Dldg+SzCXKRaXwHyys4qvumuyjQyC5k2ty17YnuYKFvi9cV 2xN4kOnSEvo9aB+bFfJJ46ZqQs433NKZ3qzuVLHSD0OZUOq+g4uQbFpT+S13X1wt5E9S gv9LCNBiTBgriAXefzEAhLwuNk/PyQurGZfmQzIKciq5unkCo28RF+C7SXcGMrNl+l47 PKFv/BAC0qHf91ezoPV4dSd29R56guCEn4a24qnLXDcgjuN0kFkF4o+e0kN77Xnf7MAs dDe1FCYZKuBcG9DGix3vu1f1NvCmJlEvILTQBXhDSVaNK2bti03kMkAPBvFBaxrr+P36 4PSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Z+l2JCU4; 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 z9-v6si10366254pfg.46.2018.08.31.05.41.53; Fri, 31 Aug 2018 05:41:53 -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=Z+l2JCU4; 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 S1727653AbeHaQtL (ORCPT + 6 others); Fri, 31 Aug 2018 12:49:11 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:34742 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727294AbeHaQtL (ORCPT ); Fri, 31 Aug 2018 12:49:11 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id w7VCfM0j006873; Fri, 31 Aug 2018 07:41:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1535719282; bh=0mEHjvWkkunb1YeWPy6cn3I8NddyLEASHhMiUp5rjJU=; h=From:To:CC:Subject:Date; b=Z+l2JCU4pvEKPUtUffjiWjlt/eMHwIC5zIlI7xheTKFhqVV8Lu3aiZ4bfp3Mmj6nv zr34EVm81vLRspy9RljiK3npvUWeolJGpWkyZOJm0t+jMinT5Upvbmn0u0rXyyK2jA qeaVhepsl2pKZzNby96/h7QI7pwRPqS64YZS+tto= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7VCfMnc020389; Fri, 31 Aug 2018 07:41:22 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 31 Aug 2018 07:41:22 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Fri, 31 Aug 2018 07:41:22 -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 w7VCfJwZ003189; Fri, 31 Aug 2018 07:41:19 -0500 From: Tero Kristo To: , , , CC: , , , Subject: [PATCHv2] kbuild: add support for building %.dtbo targets Date: Fri, 31 Aug 2018 15:41:09 +0300 Message-ID: <1535719269-13492-1-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 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 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