All of lore.kernel.org
 help / color / mirror / Atom feed
* what means COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*" ???
@ 2017-02-27 15:05 Robert P. J. Day
  0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2017-02-27 15:05 UTC (permalink / raw)
  To: OE Core mailing list


  ok, last question about COMPATIBLE_MACHINE, i promise. i
notice in
meta-oe/recipes-support/mongodb/mongodb_git.bb the snippet:

  #std::current_exception is undefined for arm < v6
  COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*"
  COMPATIBLE_MACHINE_armv5 = "(!.*armv5).*"
  COMPATIBLE_MACHINE_mips64 = "(!.*mips64).*"
  COMPATIBLE_MACHINE_powerpc = "(!.*ppc).*"

consider just the first assignment:

  COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*"

which i interpret as, "if the machine override 'armv4' is in play,
then the list of compatible machines are all those which do *not*
contain the string 'armv4'. isn't that just a way of saying, "no
variation of armv4 is compatible"?

  this just looks weird, what am i missing? oh, and given the
behaviour of re.match(), could not one write that same line
equivalently as:

  COMPATIBLE_MACHINE_armv4 = "(!.*armv4)"

  i suspect i'm just confused about what's happening here.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-27 15:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-27 15:05 what means COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*" ??? Robert P. J. Day

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.