From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 15 Sep 2017 13:41:23 -0400 Subject: [U-Boot] [PATCH] Makefile: Update minimum dtc version to 1.4.3 In-Reply-To: References: <1505495725-26350-1-git-send-email-trini@konsulko.com> Message-ID: <20170915174123.GJ4560@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: