[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87tw7epqep.fsf@concordia.ellerman.id.au>
Date: Tue, 28 Feb 2017 21:21:02 +1100
From: Michael Ellerman <mpe@...erman.id.au>
To: Ben Hutchings <ben@...adent.org.uk>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
linux-kbuild@...r.kernel.org
Cc: Alessio Igor Bogani <alessio.bogani@...ttra.eu>,
Arnd Bergmann <arnd@...db.de>,
Rob Herring <robh+dt@...nel.org>, linux-c6x-dev@...ux-c6x.org,
Michal Simek <monstr@...str.eu>,
Nicolas Pitre <nicolas.pitre@...aro.org>,
Marcin Nowakowski <marcin.nowakowski@...tec.com>,
devicetree@...r.kernel.org,
Stefan Kristiansson <stefan.kristiansson@...nalahti.fi>,
Michal Marek <mmarek@...e.com>, Scott Wood <oss@...error.net>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
linuxppc-dev@...ts.ozlabs.org, Paul Mackerras <paulus@...ba.org>,
openrisc@...ts.librecores.org, Mark Salter <msalter@...hat.com>,
Stafford Horne <shorne@...il.com>,
Aurelien Jacquiot <a-jacquiot@...com>,
Jonas Bonn <jonas@...thpole.se>, linux-kernel@...r.kernel.org,
Oliver O'Halloran <oohall@...il.com>,
Mark Rutland <mark.rutland@....com>,
Emese Revfy <re.emese@...il.com>
Subject: Re: [PATCH] kbuild: avoid unrecognized option error for external DTC
Ben Hutchings <ben@...adent.org.uk> writes:
> [ Unknown signature status ]
> On Mon, 2017-02-27 at 14:40 +0900, Masahiro Yamada wrote:
>> Since commit 6b22b3d1614a ("kbuild: Allow using host dtc instead of
>> kernel's copy"), it is possible to use an external dtc. In this
>> case, we do not know which options are supported on it.
>>
>> Commit bc553986a2f7 ("dtc: turn off dtc unit address warnings by
>> default") gives -Wno-unit_address_vs_reg, but this options is only
>> recognized by v1.4.2 or later.
>>
>> If an older version is specified, the build fails:
>
> But the option to use an external dtc was intended to allow testing of
> newer versions. If there's no reason to use this option to run an
> older version, why bother trying to support that?
+1
That's a lot of added complexity, when the answer could just be "use the
kernel dtc".
cheers
Powered by blists - more mailing lists