Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1589339
| From | Michael Ellerman <mpe@ellerman.id.au> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] kbuild: avoid unrecognized option error for external DTC |
| Date | 2017-02-28 11:30 +0100 |
| Message-ID | <tfNcB-35E-15@gated-at.bofh.it> (permalink) |
| References | <tfmm5-Zq-1@gated-at.bofh.it> <tfu9Y-6E2-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Ben Hutchings <ben@decadent.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
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] kbuild: avoid unrecognized option error for external DTC Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-02-27 06:50 +0100
Re: [PATCH] kbuild: avoid unrecognized option error for external DTC Ben Hutchings <ben@decadent.org.uk> - 2017-02-27 15:10 +0100
Re: [PATCH] kbuild: avoid unrecognized option error for external DTC Michael Ellerman <mpe@ellerman.id.au> - 2017-02-28 11:30 +0100
csiph-web