From patchwork Tue Apr 17 09:10:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 133528 Delivered-To: patch@linaro.org Received: by 10.46.84.18 with SMTP id i18csp4489861ljb; Tue, 17 Apr 2018 02:11:32 -0700 (PDT) X-Google-Smtp-Source: AIpwx4//czUcUyo/cNvS9YLJtCBw+ZztYOuVGcGWY0VPYGqva5qrB5jimyYvHBL8wsumlHCyglru X-Received: by 2002:a17:902:a70b:: with SMTP id w11-v6mr1276756plq.353.1523956292801; Tue, 17 Apr 2018 02:11:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523956292; cv=none; d=google.com; s=arc-20160816; b=n4NaWqesKRvJHKvD7RqP9reoE6ThkVQwCc3e2jSnx1Olucul8wF3zVjBc7MZC+rdI9 Y7k5dFJIDZo1lJHDVDHEGPp8kp6SXcHSr+hH/2C6CdBmt/AGE+s3oPf2tOt1m62TiBff TeWWq75WeS7BX/LU3MrdUKuB9MsNk4bLuzXmZ3nIwIZjafy8DJKC4a6bF2bS5zVBUG0Q MVzilndo/uKIdbyqX2eqlQ746oBLoGcFuyEEVwwikGZ9TZyzPPAPY9VOVABxBNS3ZxZt 8RSkcQMPpNXuB5axFCYZtd3P2iryfh/NH/tOnLr8CdECMavjaNhddRSilbtxerFR/0M3 e+MQ== 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=NVz1/aOlXh+YKhk5JGQD/rDM7YjAm0DzuGaNcTddUnc=; b=oeo+lfMXmY2QzKtUKCD7Wueajymy2qneIoOjCvu8km2lcoJG8qJe+UDSLnZCAp0s0j GQHGaXkK4iLFosYwlhxblSjpQlImg12iGQLJZJTMffbDHgrlQhJKTPI7rlhhMMzNyBTe meW0ZFxaiWdKFcGKHH7p7H1RTpwMjrJRbJx+ROG9rHbV688GjnYrMqPdkoOpTLaFQCse ry2t2FE3493Frwq9zdSAK31gW0mIn2BJlgY0pUk59scYyi+jRNq1j0donzXHKVZAt6TW zHb6olzFnjFfiEdpqOkwEAvvIq0kq7KHgLytY6KOcAW3fBqRiWA4Zd0W78ul24QNo6jk NaSA== 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=QLZNkPz1; 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.32; Tue, 17 Apr 2018 02:11:32 -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=QLZNkPz1; 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 S1752166AbeDQJLb (ORCPT + 6 others); Tue, 17 Apr 2018 05:11:31 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:13949 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751345AbeDQJLb (ORCPT ); Tue, 17 Apr 2018 05:11:31 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3H9BFMB017958; Tue, 17 Apr 2018 04:11:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1523956276; bh=mGUnAZ1Xf5TujozNJEs7v8N6om1WMq5GmoDZv82lfnA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=QLZNkPz1qH4aw7gAGM77dEWrHZb/Ko8yLx+7b9dULZ5ppzhg6Ik29eGKu4uVJ8oVs FBiPNAO87yNQG3wtJu/GBf0MZmElE1w2q8/ZtRTY/L1WmoJ/znJWb6LUEh8v316w4L zR8fnorOAHBf+5PP9jN+AX0Et8njO4sFraxlh9/4= 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 w3H9BFvu013882; Tue, 17 Apr 2018 04:11:15 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) 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:11:15 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE100.ent.ti.com (157.170.170.30) 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:11:15 -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 w3H9AdnF031430; Tue, 17 Apr 2018 04:11:13 -0500 From: Tero Kristo To: , , , CC: , , , Subject: [RFC 10/13] ARM: dts: add FIT image build support for ARM architecture Date: Tue, 17 Apr 2018 12:10:12 +0300 Message-ID: <1523956215-28154-11-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 basic .itb build target for ARM architecture. FIT images generally contain the kernel and different DTB + overlay files, so an extra dependency is made towards zImage being available. Signed-off-by: Tero Kristo --- arch/arm/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 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 ca09509..8d4811b 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -343,11 +343,14 @@ $(BOOT_TARGETS): vmlinux $(INSTALL_TARGETS): $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@ -%.dtb %.dtbo: dtbdir=$(patsubst %/,%,$(patsubst %./,%,$(boot)/dts/$(dir $@))) +%.dtb %.dtbo %.itb: dtbdir=$(patsubst %/,%,$(patsubst %./,%,$(boot)/dts/$(dir $@))) %.dtb %.dtbo: | scripts $(Q)$(MAKE) $(build)=$(dtbdir) MACHINE=$(MACHINE) $(boot)/dts/$@ +%.itb: | scripts zImage + $(Q)$(MAKE) $(build)=$(dtbdir) MACHINE=$(MACHINE) $(boot)/dts/$@ + PHONY += dtbs dtbs_install dtbs: prepare scripts