Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp215818imm; Tue, 19 Jun 2018 19:37:44 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJyzMKtGR8Ac0o7WN5odtharpteJRANFSd/V9icRl1c400kFM98KhyD52O75VYESEuGZGKs X-Received: by 2002:a63:318c:: with SMTP id x134-v6mr1068518pgx.60.1529462264151; Tue, 19 Jun 2018 19:37:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529462264; cv=none; d=google.com; s=arc-20160816; b=mJbWqBIox7wp5gyYcsuj7YazexZH3Bm3qRjwIvQKx+B/6oGbLo1G+ybW57kJBCg9Tm ztmqsCg+Ub8bvduiVQXp75iPLm/r46HwdzVWy6OTXaxf6MIuYlYuuXqp9SNKDnUbu3En 8zAkjWD4tvoRK/GkYaKJLwrrn9FWkI7FLoNUIFQc5JyJ6o20HSVFizHMliwPwwSGN35k XlBVhuyfDZRbZ+ZKN6dS1G5Yo54AFZP4RgsL7YrJBreBirgRh5PyJQ7Vr/R6aXT5Mjti 2/Coy9W9+jSv42vwGSbkiI5bGhH9zEcTiuzrII1kVoBxij+lH7LvReYBvWmiK+fQCzCx X0NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=u0PA/gYpnNjx8XPmMfKh+s24lvDLzG8LzzgMMdzZ7sw=; b=u/xvW+AiagtCXysGbh5PZp9/6O5xFe26QiBzCKSqxgX2sOdv5ccF+cB2RigejdYgqK J+HIOQZCNQLpEfmq2RtZPTUokpX448xij6tv6yTBASWaJ8HDOUC0+vwpkRJcKGJQ89OR xRhqhAEyPhnDfjHuhcNbJMTJHn06Q3GnTKE7yU2EBfp+J28AR1XzvpWw/7iQLa7ymplb bW1RFQYjtdhIdeMnOJUYchXmPMdhArkT7CZhZsdzgKCR2DngCqXNlLyGSVrQhL4lZQM9 X/57syiZAaS9yJO3ed40t11SxRrdV3tRYp/UsEXcqgVq9q2R+wx3+jkIHuxwDUnV+EcO I0kw== ARC-Authentication-Results: i=1; mx.google.com; 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 c17-v6si992560pgf.352.2018.06.19.19.37.29; Tue, 19 Jun 2018 19:37:44 -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; 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 S1754299AbeFTCfQ (ORCPT + 99 others); Tue, 19 Jun 2018 22:35:16 -0400 Received: from 9pmail.ess.barracuda.com ([64.235.150.225]:58317 "EHLO 9pmail.ess.barracuda.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754014AbeFTCfP (ORCPT ); Tue, 19 Jun 2018 22:35:15 -0400 Received: from mipsdag02.mipstec.com (mail2.mips.com [12.201.5.32]) by mx27.ess.sfj.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=NO); Wed, 20 Jun 2018 02:35:05 +0000 Received: from mipsdag02.mipstec.com (10.20.40.47) by mipsdag02.mipstec.com (10.20.40.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1415.2; Tue, 19 Jun 2018 19:35:02 -0700 Received: from localhost (10.20.78.225) by mipsdag02.mipstec.com (10.20.40.47) with Microsoft SMTP Server id 15.1.1415.2 via Frontend Transport; Tue, 19 Jun 2018 19:35:02 -0700 Date: Tue, 19 Jun 2018 19:35:02 -0700 From: Paul Burton To: Alexandre Belloni CC: James Hogan , Ralf Baechle , Allan Nielsen , Thomas Petazzoni , , Subject: Re: [PATCH 2/2] mips: generic: allow not building DTB in Message-ID: <20180620023502.r5e6j222qml2bb47@pburton-laptop> References: <20180425211607.2645-1-alexandre.belloni@bootlin.com> <20180425211607.2645-2-alexandre.belloni@bootlin.com> <20180425220149.GI4813@piout.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20180425220149.GI4813@piout.net> User-Agent: NeoMutt/20180512 X-BESS-ID: 1529462099-637137-2582-19112-2 X-BESS-VER: 2018.7-r1806151722 X-BESS-Apparent-Source-IP: 12.201.5.32 X-BESS-Envelope-From: Paul.Burton@mips.com X-BESS-Outbound-Spam-Score: 0.60 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.194212 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound 0.60 MARKETING_SUBJECT HEADER: Subject contains popular marketing words X-BESS-Outbound-Spam-Status: SCORE=0.60 using account:ESS59374 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND, MARKETING_SUBJECT X-BESS-Orig-Rcpt: alexandre.belloni@bootlin.com,jhogan@kernel.org,ralf@linux-mips.org,allan.nielsen@microsemi.com,thomas.petazzoni@bootlin.com,linux-mips@linux-mips.org,linux-kernel@vger.kernel.org X-BESS-BRTS-Status: 1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alexandre, On Thu, Apr 26, 2018 at 12:01:49AM +0200, Alexandre Belloni wrote: > > diff --git a/arch/mips/Makefile b/arch/mips/Makefile > > index 5e9fce076ab6..3d3554c13710 100644 > > --- a/arch/mips/Makefile > > +++ b/arch/mips/Makefile > > @@ -404,7 +404,7 @@ endif > > CLEAN_FILES += vmlinux.32 vmlinux.64 > > > > # device-trees > > -core-$(CONFIG_BUILTIN_DTB) += arch/mips/boot/dts/ > > +core-y += arch/mips/boot/dts/ > > > > %.dtb %.dtb.S %.dtb.o: | scripts > > $(Q)$(MAKE) $(build)=arch/mips/boot/dts arch/mips/boot/dts/$@ > > diff --git a/arch/mips/boot/dts/mscc/Makefile b/arch/mips/boot/dts/mscc/Makefile > > index 8982b19504a3..437ec65ec14a 100644 > > --- a/arch/mips/boot/dts/mscc/Makefile > > +++ b/arch/mips/boot/dts/mscc/Makefile > > @@ -1,3 +1,3 @@ > > dtb-$(CONFIG_MSCC_OCELOT) += ocelot_pcb123.dtb > > > > -obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) > > +obj-($CONFIG_BUILTIN_DTB) += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) > > I made a typo here, I'll resend after waiting for a few comments. Are you happy with this series apart from fixing up the above? If so I'm happy to s/(\$/$(/ whilst applying this. Thanks, Paul