From patchwork Tue Aug 21 21:55:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 960728 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="M+c7aRnz"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41w4HN3PqWz9sBZ for ; Wed, 22 Aug 2018 07:55:44 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=n/c2pk4JbtA3cw4yr0pec6iNbyK0pu1Fe/SD3LaFowc=; b=M+c 7aRnzu9XVRPVKSmB/2ZloLFYABgJYDENCBBPS4aOsQhw37X9lFAjGflrIpouF0L9ADPR3+TI3cKHH H/pynxbZ0436eEJAiRwwsYmDdV7z/fEt8GW37xV2PUIAwF+41N54/ZVcjgNBR3nHd3c5zIHlKYrua GZ2M2hJ0hG9olWE3enezuL0WLwsXcubcuD02+I80CjGbkRfyzx/CYwAWSB4WkLHvAaRp7ZGM3gv9l uQJh0OlBhjwrtBUWS2OK4qAHEmu/jmwlfOIvYCWxw6/ILiNM7Il1WfHCby6Lv2puu73mYt33P4/ow VrwAOY8iIGzATkLfHwlDM7ftG+pozkw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fsEco-00071D-Cy; Tue, 21 Aug 2018 21:55:42 +0000 Received: from mail-oi0-f66.google.com ([209.85.218.66]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fsEcl-0006xt-KB; Tue, 21 Aug 2018 21:55:41 +0000 Received: by mail-oi0-f66.google.com with SMTP id p84-v6so453510oic.4; Tue, 21 Aug 2018 14:55:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=nYByRictVraWe44R39mkAFN6mZthpxcDanXdqeRYm3c=; b=ZJx7rrI28p1uVaKfwpHknIOsaD58QPFXAViVvAxc7JkdwQlXLy3Xn/qoLgrZCofxBN mgn1TqQTMkCHDKuQ2iK+RJ5eAgS9E5ro7fgy7y27KigtzSoyLN9NEsqbkdiUcECylN68 iP23c6ZtfOhGvhKjpvaZtQBqNeHCBFKF3uq3CwECin5+VLJC5cBHLKyNLahZ8kEe8Gvb GZXJiwd6TUEj4XpuWFW2vAA4QWiHxDiSC6lcZ80QbgADUdJEbUVY4KoWEhEr6fcjO8i7 WRjdZtM1Dm44IsnjEWe1nZF1XxpUkubz1xDK+jvZP/CA9nE/XGJOcuucio6ctOx5hcE+ hnfw== X-Gm-Message-State: APzg51B3blFuIenU19RZvZfCe0Uv+kw/vyyFPQsCbWLH9bC8uADx0cK+ JXe5GjgrlL+YSrSomnfyOQ== X-Google-Smtp-Source: ANB0VdZqd31HUpB1RifhBZAbXMlWzV0LMHIKHueWms/Du//Xt+PVhcc59OvQspBXWl5fj9EpJ3k4QA== X-Received: by 2002:aca:401:: with SMTP id 1-v6mr1151864oie.28.1534888526316; Tue, 21 Aug 2018 14:55:26 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id x126-v6sm18785332oig.15.2018.08.21.14.55.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Aug 2018 14:55:25 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/8] Devicetree build consolidation Date: Tue, 21 Aug 2018 16:55:16 -0500 Message-Id: <20180821215524.23040-1-robh@kernel.org> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180821_145539_670392_78E284B4 X-CRM114-Status: GOOD ( 13.51 ) X-Spam-Score: 0.5 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (0.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.218.66 listed in wl.mailspike.net] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (robherring2[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (robherring2[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.218.66 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-mips@linux-mips.org, Benjamin Herrenschmidt , Will Deacon , Max Filippov , Paul Mackerras , Frank Rowand , Yoshinori Sato , Michael Ellerman , Russell King , Catalin Marinas , James Hogan , linux-snps-arc@lists.infradead.org, uclinux-h8-devel@lists.sourceforge.jp, linux-xtensa@linux-xtensa.org, linux-kbuild@vger.kernel.org, nios2-dev@lists.rocketboards.org, linux-arm-kernel@lists.infradead.org, Chris Zankel , Michal Simek , Michal Marek , Masahiro Yamada , Vineet Gupta , Ralf Baechle , Paul Burton , Ley Foon Tan , linuxppc-dev@lists.ozlabs.org MIME-Version: 1.0 Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org This series addresses a couple of issues I have with building dts files. First, the ability to build all the dts files in the tree. This has been supported on most arches for some time with powerpc being the main exception. The reason powerpc wasn't supported was it needed a change in the location built dtb files are put. Secondly, it's a pain to acquire all the cross-compilers needed to build dtbs for each arch. There's no reason to build with the cross compiler and the host compiler is perfectly fine as we only need the pre-processor. I started addressing just those 2 problems, but kept finding small differences such as target dependencies and dtbs_install support across architectures. Instead of trying to align all these, I've consolidated the build targets moving them out of the arch makefiles. I'd like to take the series via the DT tree. Rob Rob Herring (8): powerpc: build .dtb files in dts directory nios2: build .dtb files in dts directory nios2: use common rules to build built-in dtb nios2: fix building all dtbs c6x: use common built-in dtb support kbuild: consolidate Devicetree dtb build rules powerpc: enable building all dtbs c6x: enable building all dtbs Makefile | 30 ++++++++++++++++++ arch/arc/Makefile | 6 ---- arch/arm/Makefile | 20 +----------- arch/arm64/Makefile | 17 +---------- arch/c6x/Makefile | 2 -- arch/c6x/boot/dts/Makefile | 17 +++++------ arch/c6x/boot/dts/linked_dtb.S | 2 -- arch/c6x/include/asm/sections.h | 1 - arch/c6x/kernel/setup.c | 4 +-- arch/c6x/kernel/vmlinux.lds.S | 10 ------ arch/h8300/Makefile | 11 +------ arch/microblaze/Makefile | 4 +-- arch/mips/Makefile | 15 +-------- arch/nds32/Makefile | 2 +- arch/nios2/Makefile | 11 +------ arch/nios2/boot/Makefile | 22 -------------- arch/nios2/boot/dts/Makefile | 6 ++++ arch/nios2/boot/linked_dtb.S | 19 ------------ arch/powerpc/Makefile | 3 -- arch/powerpc/boot/Makefile | 49 ++++++++++++++---------------- arch/powerpc/boot/dts/Makefile | 6 ++++ arch/powerpc/boot/dts/fsl/Makefile | 4 +++ arch/xtensa/Makefile | 12 +------- scripts/Makefile | 1 - scripts/Makefile.lib | 2 +- 25 files changed, 87 insertions(+), 189 deletions(-) delete mode 100644 arch/c6x/boot/dts/linked_dtb.S create mode 100644 arch/nios2/boot/dts/Makefile delete mode 100644 arch/nios2/boot/linked_dtb.S create mode 100644 arch/powerpc/boot/dts/Makefile create mode 100644 arch/powerpc/boot/dts/fsl/Makefile --- 2.17.1