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
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot