From: Tom Rini Date: Wed, 6 Aug 2014 11:06:55 -0400 Subject: [U-Boot] [PATCH v4 02/13] buildman: Add some notes about moving from MAKEALL In-Reply-To: References: <1407250023-9501-1-git-send-email-sjg@chromium.org> <1407250023-9501-3-git-send-email-sjg@chromium.org> <53E15BED.4030206@freescale.com> <53E166DF.4060004@freescale.com> Message-ID: <20140806150655.GP19374@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, Aug 06, 2014 at 08:20:47AM -0600, Simon Glass wrote: > Hi York, > > On 5 August 2014 20:53, York Sun wrote: > > > > > > On 8/5/14 7:15 PM, "Simon Glass" wrote: > >>>> > >>>> But in this case why not just leave off the 'freescale'? > >>> > >>> This is just an example. What if I chose "-a arm" and "-v freescale". > >>>ARM has > >>> 300+ targets, but only 20+ are for Freescale. I could save time by > >>>building a > >>> lot less platforms. > >>> > >>> The point here is the "OR" logic. > >> > >>I suppose you could use mx6 or similar, but I take your point. > >> > >>So what could we do here? Perhaps add a --vendor flag to limit to a > >>particular vendor? Would that be enough? > > > > With the ability to build targets for more than one arch, I will be > > tempted to use syntax like this > > > > buildman (powerpc & freescale) (arm & freescale) aarch64 Spaces outside of parens are implicit ORs here, so all powerpc+freescale, all arm+freescale and all aarch64. In the fullness of time the last one might become all freescale+aarch64. Bonus points if we can easily write 'buildman ... ((powerpc|arm|aarch64) & freescale)' Thinking out loud, the problem is today we have | for OR but we don't have an AND symbol. I can do: $ buildman 'arm|powerpc|aarch64' Today and get what I want. But I can't: $ buildman '(powerpc&freescale)|(arm&freescale)' -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: