[U-Boot] [PATCH v4 02/13] buildman: Add some notes about moving from MAKEALL
Tom Rini
trini at ti.com
Wed Aug 6 17:06:55 CEST 2014
On Wed, Aug 06, 2014 at 08:20:47AM -0600, Simon Glass wrote:
> Hi York,
>
> On 5 August 2014 20:53, York Sun <yorksun at freescale.com> wrote:
> >
> >
> > On 8/5/14 7:15 PM, "Simon Glass" <sjg at chromium.org> 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: <http://lists.denx.de/pipermail/u-boot/attachments/20140806/0ef81488/attachment.pgp>
More information about the U-Boot
mailing list