[U-Boot] [PATCH] Makefile: Update minimum dtc version to 1.4.3
Tom Rini
trini at konsulko.com
Fri Sep 15 17:41:23 UTC 2017
On Fri, Sep 15, 2017 at 11:33:23AM -0600, Stephen Warren wrote:
> On 09/15/2017 11:15 AM, Tom Rini wrote:
> >With support for overlays and calling the -@ flag to dtc we need to have
> >at least 1.4.3 available now.
>
> >diff --git a/Makefile b/Makefile
>
> > checkdtc:
> >- @if test $(call dtc-version) -lt 0104; then \
> >- echo '*** Your dtc is too old, please upgrade to dtc 1.4 or newer'; \
> >+ @if test $(call dtc-version) -lt 010403; then \
> >+ echo '*** Your dtc is too old, please upgrade to dtc 1.4.3 or newer'; \
> > false; \
> > fi
>
> Can we add a comment here indicating that .travis.yml must be
> updated too if the version requirement changes, and similarly a
> comment in .travis.yml that mentions it must be kept in sync with
> the checkdtc rule in Makefile?
I'm planning to follow up https://patchwork.ozlabs.org/patch/813888/
with one to do -b v1.4.3 so we'll be testing the minimum requirement in
the future.
> For users, it's a bit annoying that we need a newer dtc that is
> present in distros, without any deprecation warning from the
> Makefile for a couple releases before:-(
Well, the other ways to do this are "mirror" the kernel and include a
copy of dtc, or have different version checks for if UT_OVERLAY is
enabled or not.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170915/ca0d9f9d/attachment.sig>
More information about the U-Boot
mailing list