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: 145311 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp1133077ljw; Tue, 28 Aug 2018 05:33:17 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYbUxz+b4w5/cMZg2EBNPcR+M/r7r8BJ7EQU/zmOfd9mZPun9vkS0U2xCgya9J0B/9PwZr1 X-Received: by 2002:a63:6988:: with SMTP id e130-v6mr1379708pgc.249.1535459597666; Tue, 28 Aug 2018 05:33:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535459597; cv=none; d=google.com; s=arc-20160816; b=lCpjKBKrmQgUwVgCAX5fHXyrVbM0jsrosiM5fzvzdXplT/49pGyzvExoUG3TF9OXVW UMLpewVXfw5F9gtHLXPPiTe4aW4/nQFuZDeabC7f6VKo8fkkqNWaQ5luAeORkpfoEVEN W0ui18C5vTp/qqKfBxr03aZtEmnMAj+oaGrAmy9dkriY+7Nv86tUDuMS2r77fe5yF84r UqNRlN8xYuK+k2glDthq25EGsMsIL1DVaTT5SzXw52v2B3lPIvSbT5qhR4l/vb312qW1 zYBrrRjdfy4hv3VRFJFkPdCaTDjmk9+2Zz1ciPnaQ08Jjxak5jUo18ALtkZDjIm5G76K 4+9g== 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=DHXzzMUVwIPIkaDTtAxemzyEli+wOEziBKRYq8V/+bQ=; b=WknsqlQDRJ/03Zq9TM3I9irlvSgCVh8mKaAy2sDL92tjUUPa1pVB8NtmtQaTMQQP8J fPTi9kfVqVDt5Nkw4e2P5L6j2mdQb06UnQaTOvSBdcIw4F2NEhC29H41ADVeX9QAMDV5 ex9+JzpUaxhNJKQ/lQEW9E+wDnEm08q3arbsUJGHyfSc95G4AxP+YHkUO2jUuZxvpvTE 5eejlOr7d5DqirexwvWQwxMYOFXNi9OqTXgl2tc31vGY+z34HuaRXM6Gqy547ZzmUTqv ByYW0NK2WRmdNpUBgdG7rdo/nhb9ErHjjmDB7a/OJwc7PIXQvJVZvRy42vsnAyMapYHI 3ugA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pgCqc3WZ; 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 t71-v6si879370pfi.221.2018.08.28.05.33.17; Tue, 28 Aug 2018 05:33:17 -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=pgCqc3WZ; 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 S1726961AbeH1QYn (ORCPT + 6 others); Tue, 28 Aug 2018 12:24:43 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:42878 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727162AbeH1QYm (ORCPT ); Tue, 28 Aug 2018 12:24:42 -0400 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: , , , , CC: , 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 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 --- 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