From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heinrich Schuchardt Date: Sun, 24 Sep 2017 08:41:32 +0200 Subject: [U-Boot] Makefile: Update minimum dtc version to 1.4.3 In-Reply-To: <20170923175350.GE30205@bill-the-cat> References: <1505495725-26350-1-git-send-email-trini@konsulko.com> <20170922142004.GT30205@bill-the-cat> <20170923125608.GX30205@bill-the-cat> <20170923170500.GA30205@bill-the-cat> <20170923173725.GB30205@bill-the-cat> <3f9bda2b-bd8b-71b9-9b1c-0a144a6080de@gmail.com> <20170923175350.GE30205@bill-the-cat> Message-ID: <6a69621c-04ef-2776-847e-3e636f0373c8@gmx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 09/23/2017 07:53 PM, Tom Rini wrote: > On Sat, Sep 23, 2017 at 07:43:09PM +0200, Marek Vasut wrote: >> On 09/23/2017 07:37 PM, Tom Rini wrote: >>> On Sat, Sep 23, 2017 at 07:33:44PM +0200, Marek Vasut wrote: >>>> On 09/23/2017 07:05 PM, Tom Rini wrote: >>>>> On Sat, Sep 23, 2017 at 08:56:08AM -0400, Tom Rini wrote: >>>>>> On Sat, Sep 23, 2017 at 12:39:44PM +0200, Marek Vasut wrote: >>>>>>> On 09/22/2017 04:20 PM, Tom Rini wrote: >>>>>>>> On Fri, Sep 15, 2017 at 01:15:25PM -0400, Tom Rini wrote: >>>>>>>> >>>>>>>>> With support for overlays and calling the -@ flag to dtc we need to have >>>>>>>>> at least 1.4.3 available now. >>>>>>>>> >>>>>>>>> Cc: Simon Glass >>>>>>>>> Reported-by: Stephen Warren >>>>>>>>> Signed-off-by: Tom Rini >>>>>>>> >>>>>>>> Applied to u-boot/master, thanks! >>>>>>> >>>>>>> Debian still only has 1.4.2 even in unstable, so u-boot/master no longer >>>>>>> builds on any debian system. >>>>>> >>>>>> Then perhaps we need to mirror the kernel and provide / build dtc, but >>>>>> allow for people to override it. >>>>> >>>>> This isn't too hard and I'm pushing that through Jenkins now to confirm >>>>> I've got all the logic correct. I think this will be the least error >>>>> prone method long term. >>>> >>>> NAK, this is the same thing which chromium does and what Debian is >>>> trying to stop -- vendoring. We will end up with patched custom DTC out >>>> of sync with upstream. >>> >>> Shrug, it's what Linux does, and what QEMU does, and probably what other >>> projects do as well since apparently even Debian/Unstable is 2 releases >>> and nearly a year behind (or, 9 months if you don't want to exaggerate). >> >> And it will likely stay that way for debian stable. I am really >> disappointed in the "Shrug" reaction to such massive breakage. > > Nope and nor will it catch old-stable breaking in January when gcc-6.x > or newer is required. > Above you have been discussing code duplication. This is not the right way to work with git. The git way is to add https://git.kernel.org/pub/scm/utils/dtc/dtc.git as git submodule (https://git-scm.com/docs/git-submodule). In our make file we can then use git submodule init, git submodule update, git verify-tag before we build a dtc with the appropriate version. This way we can build dtc from sources but stay in sync with the upstream. Regards Heinrich