Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp798435imm; Thu, 6 Sep 2018 10:13:38 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYIp0Pv7fW0evTGo5gW7q9kGy4pEEfgg+KyBTEywjY9fZXD7PDJlD35DSx4rubeTYqCTU9i X-Received: by 2002:a63:5d1f:: with SMTP id r31-v6mr3825156pgb.445.1536254018886; Thu, 06 Sep 2018 10:13:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536254018; cv=none; d=google.com; s=arc-20160816; b=0b46P72FpVHRVS33RlN9Yyns5Lzlgx/94MGifc1d+jfnuLhyBx0KOa8lhfHR34No/z eZNouLnlnl7EmVGwOpCVUhYeBiahI4QXaWouFA8sZwrOWZecgAFpTl+J0udO47kG3yoT AFZcwlC2BAweZ2uNekr0m4duiumTKL5Mx4m2Bo5CisXl2qMvt2pR+f36F27D4lsapsEn l5WnFo73KuFgm2pUW7Up/jqG0KPgypVAkVHclzuA2FuTz1GzQh3B7rYvOcryQQfDxBI2 fBemuQ+X88E0NGhs0WV/Y5vQNkeOhlcA1g9I6dNLPGzW0nzA9BwMSkL5qjcpsd2Wn6LI /zFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=qpgyhHmh+H+5GeJnjQOyUWHgr3z2yf+CyKewChzDO8Q=; b=jFCQd/qmwM46RpEMarceYw26FG4tz+/vEhD1+K23vZHfgWM/xeEcZNiZB+Nm9ygF95 U+D8A43rrYHnsCPVcntJZoqwEtS0G1mu6YiJG4tQ6O0C9l6KmRxQ7tkoAASV4QAAnRvG zDweP8qlcmY5VKnlNupTakIXxnc+jCpcaXp3EP0atf3E8kVw4Gd24MpoAHefmYe1XBCN EaXZ3tenCJtEnewjHAC9oPyOskgN4ZtT4EwFT3QzdgvObLJw2/XsCgiI93ygK+rOW1ZC gSnsuevaVEdwLP5U8Q90n2Lx63+xcYqBRcOEGYSHlbiGCRyinPxGQuQzKzBwad12IKco CP/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wavesemi.onmicrosoft.com header.s=selector1-wavecomp-com header.b=iVigONwd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a6-v6si5084516plz.227.2018.09.06.10.13.22; Thu, 06 Sep 2018 10:13:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@wavesemi.onmicrosoft.com header.s=selector1-wavecomp-com header.b=iVigONwd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728378AbeIFVsH (ORCPT + 99 others); Thu, 6 Sep 2018 17:48:07 -0400 Received: from mail-sn1nam01on0125.outbound.protection.outlook.com ([104.47.32.125]:2083 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726541AbeIFVsH (ORCPT ); Thu, 6 Sep 2018 17:48:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wavesemi.onmicrosoft.com; s=selector1-wavecomp-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qpgyhHmh+H+5GeJnjQOyUWHgr3z2yf+CyKewChzDO8Q=; b=iVigONwdgh9lf8tQMIp5VY7czKwKukxL/gnOezeDQ/rSfT443oH/m8f2Gp2w5gbzY0+8wKDrICrebLWDBaenYkTXsAR67ccrEWjKHVHYjsLvvB94+APUyuy1DWHyi4mCFZ5y+YtuBA3vRUj5FyfAm4Hk1c97/iu29bGH810XmR0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=pburton@wavecomp.com; Received: from localhost (4.16.204.77) by BN7PR08MB4930.namprd08.prod.outlook.com (2603:10b6:408:28::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1101.14; Thu, 6 Sep 2018 17:11:36 +0000 Date: Thu, 6 Sep 2018 10:11:33 -0700 From: Paul Burton To: Rob Herring Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Masahiro Yamada , Michal Marek , Vineet Gupta , Russell King , Catalin Marinas , Will Deacon , Yoshinori Sato , Michal Simek , Ralf Baechle , James Hogan , Ley Foon Tan , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Chris Zankel , Max Filippov , linux-kbuild@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, uclinux-h8-devel@lists.sourceforge.jp, linux-mips@linux-mips.org, nios2-dev@lists.rocketboards.org, linuxppc-dev@lists.ozlabs.org, linux-xtensa@linux-xtensa.org Subject: Re: [PATCH v2 6/9] kbuild: consolidate Devicetree dtb build rules Message-ID: <20180906171133.awny5cx533kkolrg@pburton-laptop> References: <20180905235327.5996-1-robh@kernel.org> <20180905235327.5996-7-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180905235327.5996-7-robh@kernel.org> User-Agent: NeoMutt/20180716 X-Originating-IP: [4.16.204.77] X-ClientProxiedBy: CY4PR19CA0039.namprd19.prod.outlook.com (2603:10b6:903:103::25) To BN7PR08MB4930.namprd08.prod.outlook.com (2603:10b6:408:28::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b6cce1b1-5201-4adb-4422-08d6141bcd65 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:BN7PR08MB4930; X-Microsoft-Exchange-Diagnostics: 1;BN7PR08MB4930;3:ranjkBDB6DhAJ4iRF64/7/ahOLT2T+ep9vBhHFJXakBoLCC80nUupJE1cC8D6mkhEBtCPbPbxBwmdWeNKvMpFgPBYdhH2K2gEselaL8IVfQ7qQkR2J2AW1HNTSOf+5f2tuHm7AZzS+7pEkemls2DWI8o0N4SedOYFTosueJKcmd97815WlO5LQRb8Xl1QnSp2zSw9RLJ+Fpw/LXPTtv8+a811kVu8YOtwNWjRmhb0p1z3IxSFeCVCFWdzty/CKfp;25:G4jowsCqe/Uxu4vKCiq/hIHQ/dLV+cm+3FzpI1hx9pdCpa8QPDcOSrrFSe8iEIvGODQ5THspA65oBYiu+mHr1UpzAD9pdeib8cRofewABcN45sSUSh+osqg2KOOVSs46oMNwlJ7FOCeBWYcCYuIRl6qAvrPL3vuohLnZje40TaE07/0xYI0jk7C7gTuK4OwFslOk02x9o4AZWgwMg1w8V4okDUJ8AOpA8zAQw4E60DgjM1sNIO9a8HNcLN4S2w9LFBCzzb3WnCSEmsagWAVKiy31Y7xMaX+iA5Isk+3GNHoT/9l3Ot7RdG8C3UEB1BjgLWiBOFLZwhVIIsxmgcz8BQ==;31:FC9BUqOQe+OEwGcxDNQ3g+HsI9EcH2xyL/vtb1N/K9gtB8Zz8OinQMOgCqBLdSLm7nzYYVYM6cjHv2lBfQHhy0bgn7NOyHvDdMi3uXFnhx5bIQhBtO0Ccm0g3XvvkvJE6ytAyXgkn4DKsYobfqCVvixmEzcSeF0qtf1OtPudocFBsFwPChr59tjfFl0xA9lQ5wNssCjEmicn1+KfxBBGUJjqtGh+V2zbh7loWN7mdag= X-MS-TrafficTypeDiagnostic: BN7PR08MB4930: X-Microsoft-Exchange-Diagnostics: 1;BN7PR08MB4930;20:y2TSCZ2s9zu2CggVjS6KBBL7Elq1zNUorrMcneV/ym1kmYvZtI87OtJ6D3KC8W0nteehcEHr1WILHMb6eMvTU6FYubDhCyeqv2QU4QOVzF650PewXb3C64vHK6vx5kZpihgakrZewY7ZKdB5W5jgGlMHPAb5or83MxOrI+go8V8zIJR13WS7JVT+18hpVlLF+0qZsYWtg60w2k7k2FuHEsG5FAnu0dk4c29pAzHFPK0wilUuxo+GMVDqRHLqs2P/;4:7Y86RzvKAAqEErpW2bdN+darsAK7MqlT4ZvWm0iETE1bg0MghriQ3Pm1D26P3w0e3J0fyCYhRymNrXj+brGA4CfUViAqcfBetIoroYin4yj8Yl6kIZfSXzOTVj1cvlkD5PEMm7tYu+Agn+ruxfZdut2FH11OsFkz3OwXnD6zOrCJiBpzKoL38GxLH7Qi5bOYkireUbI1pSk6Smz0L8i4QeXVnjUFcZ9cZYbSz2uTUeRVnTK7lQDJo/ncMVyymyW/Onu5t47oo6h/KGMDZaMXsg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(3002001)(3231311)(944501410)(52105095)(93006095)(10201501046)(149027)(150027)(6041310)(20161123562045)(20161123564045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699016);SRVR:BN7PR08MB4930;BCL:0;PCL:0;RULEID:;SRVR:BN7PR08MB4930; X-Forefront-PRVS: 0787459938 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6069001)(7916004)(39840400004)(366004)(376002)(136003)(346002)(396003)(189003)(199004)(7736002)(4326008)(44832011)(54906003)(33716001)(106356001)(446003)(186003)(16526019)(25786009)(76176011)(305945005)(11346002)(47776003)(6496006)(52116002)(42882007)(76506005)(26005)(53936002)(33896004)(68736007)(386003)(6916009)(6116002)(3846002)(229853002)(97736004)(6666003)(8676002)(2906002)(9686003)(6486002)(58126008)(486006)(956004)(316002)(39060400002)(81156014)(6246003)(81166006)(476003)(105586002)(23726003)(7416002)(50466002)(5660300001)(66066001)(16586007)(478600001)(8936002)(1076002);DIR:OUT;SFP:1102;SCL:1;SRVR:BN7PR08MB4930;H:localhost;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: wavecomp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN7PR08MB4930;23:lNz+aLpC8z2QpCGgvajrwPjR6tWLYbDxgJ76LfAkP?= =?us-ascii?Q?emamy1WU1Jy+oAE7v0YeFUfhdTHP7Zeh91HIUm6M/ke/6rKOYxUyU0IPgqJb?= =?us-ascii?Q?VvbyiKKJwaS7ghb+huaAsHHGfv09i/yDg72Ag9JKaC3zA9qWMfhhQgKlDfie?= =?us-ascii?Q?Bd016iXsIRxfc/tVqY9kuVIAfb+CvepNFcLTA1N9WhsbDi2s2EMgiXwVd57V?= =?us-ascii?Q?iVBox6kFZW2bvGUC92jYluOfwKq4klJn8gkGYyA3fsqNjEboSY9lrPIeHMR5?= =?us-ascii?Q?lBxVQ+yJU+JdReSSqWD78jB6erdn1YhXw9TuxR7BlsQmw/1GMdJ+jukThZvR?= =?us-ascii?Q?2cIdx/oW+zC/UoSHERwkLNuXGSMZLEC4XfEJ3w3b89SPHHDJiD3Btmuw5rA0?= =?us-ascii?Q?oz2s+hVdadWcwcV4ylKmxIWVk7D843AWl9tNqiJR0CCqU816LHouR3PUXxHt?= =?us-ascii?Q?QB54NfJ57DkLmPZpjr6AXshr4iWsx13l2Twy2qoMTY2oEWxeisi1GvzZZAlR?= =?us-ascii?Q?NGIofndPF3tXzsxlxoZE0G4HoUNqxlGFsRCnjGfRromPzid5zFZycgJB6Jm3?= =?us-ascii?Q?EHZEV2Q/OYQRl+x37PNa9jZsnNFN5jKp7J+RYy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mhG2gFdiJqmRLeCw5R71FeK9JFiexwDxvD5fTZuH716uMNEKRbHMSucq0MclD9hl/Q8yXkzVQN+rGDEbSPhyY4YWHXg+oyYKepKNJcast4 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: mips.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2018 17:11:36.0110 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b6cce1b1-5201-4adb-4422-08d6141bcd65 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 463607d3-1db3-40a0-8a29-970c56230104 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR08MB4930 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On Wed, Sep 05, 2018 at 06:53:24PM -0500, Rob Herring wrote: > There is nothing arch specific about building dtb files other than their > location under /arch/*/boot/dts/. Keeping each arch aligned is a pain. > The dependencies and supported targets are all slightly different. > Also, a cross-compiler for each arch is needed, but really the host > compiler preprocessor is perfectly fine for building dtbs. Move the > build rules to a common location and remove the arch specific ones. This > is done in a single step to avoid warnings about overriding rules. > > The build dependencies had been a mixture of 'scripts' and/or 'prepare'. > These pull in several dependencies some of which need a target compiler > (specifically devicetable-offsets.h) and aren't needed to build dtbs. > All that is really needed is dtc, so adjust the dependencies to only be > dtc. > > This change enables support 'dtbs_install' on some arches which were > missing the target. > >% > Signed-off-by: Rob Herring > --- > Please ack so I can take the whole series via the DT tree. For MIPS: Acked-by: Paul Burton Thanks, Paul