From patchwork Tue Apr 17 09:10:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 133520 Delivered-To: patch@linaro.org Received: by 10.46.84.18 with SMTP id i18csp4489442ljb; Tue, 17 Apr 2018 02:11:03 -0700 (PDT) X-Google-Smtp-Source: AIpwx48ad27s5MjgE8oYbT1owxFJ0DfcZKa3zadXBlty9fFL2rsD0Ihl5OiY0x+KrcTXp3D6jz2+ X-Received: by 2002:a17:902:ac1:: with SMTP id 59-v6mr1297110plp.367.1523956263331; Tue, 17 Apr 2018 02:11:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523956263; cv=none; d=google.com; s=arc-20160816; b=c89qS0oDQ4hhaG3iN+PvPGvChQXcKixxFKlRQsZXj/D7EIk1QHJ/MKhht2AzHyB6Wg GFx7Qed0+u4wlRW8w6mCy9+LTfNpspgDYHfsrhzjuKWTKYH5BCalec0GUatBgbFCvDJX HyusAglHYw3jguNEC3yjqlcdHUgPEAJZPDCNoSUBA96qpNeso/syZtWN+eAnr29QmLfw qRVHBoSRc98HekjY1HnDJqa0GY6FoSHSpDq2AGVKjQ0Iv15p1+wwdGBnxgihUkSYOED8 CId7OZ6XRBNBYYVQc2HA5ytvbkpZvpXNnqn0oJGgtOPV61prkUAY+AAtxZhfGNhPkrHn bf2w== 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=HyeQkuPCbT3FrJIjrL32S1pqvOUO9zzBefpbci4D9IY=; b=pvhCqZij+LZQiQHnVYu23PIiKKlOKp6okpqZwqpQ5malOxDlmfGvgGbPeuwhELVzHp +S1qCkr6JwKl+g0+NWkzY9Y+k0xZ0doPZll3NU1ceWeoXcSFHXGcE+n0Un5m+QWhfhpA M4oCFwJ/+hkOO54JXX+feJ4CoyBxHWAxz9qaG7G6Y5OczJVDY/oC5dguju2UkxXBxIdP Wg+idI9uQCGAaXPOoXnZuJTox8WedzyJ5VwPLPV/QvXABeCRtHV2oFfhJl9TvCZmySXb eprU7Ml4prSCISnJZbwKEtgW5zBkleO5P1OWxdv3xK3YTEY6G8TL9B51iuI+xbpJsNGX vMTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=qtDhOt4n; 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=fail (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 r25si12132209pfh.2.2018.04.17.02.11.03; Tue, 17 Apr 2018 02:11:03 -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=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=qtDhOt4n; 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=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751927AbeDQJLB (ORCPT + 6 others); Tue, 17 Apr 2018 05:11:01 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:28769 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752043AbeDQJK7 (ORCPT ); Tue, 17 Apr 2018 05:10:59 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3H9Amg0025638; Tue, 17 Apr 2018 04:10:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1523956248; bh=A7dO00ZUN7kzTwqbrx7nxCqyKsF7ay6Oi6ZETny36tM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=qtDhOt4nANOn0zqPAgYmzSSfh2jukDT39v7KlXQICeIeB97syfkqOfFU/l6Q8RqGH iCxedu3zVonaZPdScUZNXSWdipakikYprAFTOSkO2oRapBemp6z02wXN1sEA6q74HA RXFb3IrTriRbgnLbxA6Pbtl4QXX0aGnSfcJ6WUAQ= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3H9Am6w013212; Tue, 17 Apr 2018 04:10:48 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Tue, 17 Apr 2018 04:10:47 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Tue, 17 Apr 2018 04:10:47 -0500 Received: from gomoku.home (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3H9Adn7031430; Tue, 17 Apr 2018 04:10:45 -0500 From: Tero Kristo To: , , , CC: , , , Subject: [RFC 02/13] ARM: dts: add support for building DT overlays Date: Tue, 17 Apr 2018 12:10:04 +0300 Message-ID: <1523956215-28154-3-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1523956215-28154-1-git-send-email-t-kristo@ti.com> References: <1523956215-28154-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 files from the kernel DT source tree. These can be built either from the base DT source directory, or platform specific subdir under the base directory. Signed-off-by: Tero Kristo --- arch/arm/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.9.1 -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/Makefile b/arch/arm/Makefile index f6c90bc..ca09509 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -343,9 +343,9 @@ $(BOOT_TARGETS): vmlinux $(INSTALL_TARGETS): $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@ -%.dtb: dtbdir=$(patsubst %/,%,$(patsubst %./,%,$(boot)/dts/$(dir $@))) +%.dtb %.dtbo: dtbdir=$(patsubst %/,%,$(patsubst %./,%,$(boot)/dts/$(dir $@))) -%.dtb: | scripts +%.dtb %.dtbo: | scripts $(Q)$(MAKE) $(build)=$(dtbdir) MACHINE=$(MACHINE) $(boot)/dts/$@ PHONY += dtbs dtbs_install