From: Tom Rini Date: Wed, 22 Oct 2014 12:09:36 -0400 Subject: [U-Boot] [PATCH v10 14/14] RFC: Deprecate MAKEALL In-Reply-To: References: <1409240626-6924-3-git-send-email-sjg@chromium.org> <1409240626-6924-15-git-send-email-sjg@chromium.org> <20141014081724.GF25506@bill-the-cat> <20141022083327.EEE7F3834D1@gemini.denx.de> Message-ID: <20141022160936.GY25506@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 Wed, Oct 22, 2014 at 09:11:21AM -0600, Simon Glass wrote: > Hi Wolfgang, > > On 22 October 2014 02:33, Wolfgang Denk wrote: > > Dear Tom, > > > > In message <20141014081724.GF25506@bill-the-cat> you wrote: > >> > >> No, not yet. I am going to mention in the release notes that we're > >> going to strongly start thinking about deleting MAKEALL. We can pick up > >> the deprecation patch early in the next merge window. > > > > Can we please keep at least some script (as a wrapper around > > buildman?) that keeps the old user interface in place? > > > > I frequently use "git bisect run MAKEALL ...", and it would > > be nice if we could keep this working even in newer versions of the > > code. > > > > Or is there a similar alternative command that works with identical > > parameters for - say - all versions of the last two years or so? > > Unfortunately there is not really an equivalent, and buildman only recently > > - sets its return code correctly > - supports building the current tree (previously it required a branch > name for the commit to build) > > During development of buildman/patman I used to keep a separate tree. > Then you can run the latest buildman from that tree using you current > directory for the bisect. > > I could perhaps look at adjusting MAKEALL to call buildman if that > solution isn't good enough (this will work assuming that buildman has > been set up with toolchains, etc.). Still I think a deprecation > warning is a good start. I think for Wolfgang's case that might just have to be handled with an external wrapper, translating all of the ways to run MAKEALL into buildman, reliably, would be a bit of an undertaking. But for bisect run: if [ -x ./MAKEALL ]; then ./MAKEALL $@ else ./tools/buildman/buildman $@ fi And "board" will get built, one way or another, defaulting to MAKEALL while it's still here. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: