All of lore.kernel.org
 help / color / mirror / Atom feed
* COMPATIBLE_MACHINE - how can use?
@ 2010-03-23 11:16 Leo
  2010-03-25 21:33 ` Douglas Royds
  0 siblings, 1 reply; 2+ messages in thread
From: Leo @ 2010-03-23 11:16 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi at all,
It's not long ago that I use OE and some things do not know very well.. :D
For example, can someone explain me how (and where) can use
COMPATIBLE_MACHINE?

        thanks a lot for all response! :D
                    hachreak
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJLqKL6AAoJECf4lwfLs0xJfwEH/iBautDTKvkqBS4036iVDQK7
2+K880gsLWEvB/dgA3GOdVqLfRLTec0RztffIiSEUvcF9SE+vZwUhIMMFZ/X9Pwk
UnsDzTFx95MYlJdI6+RqHUsQ1/E/TT7z50pIN0j5rR9dgU/VLg3UfqJ7OoIV92IY
YwOxoGALghfQhdk79JKy/G2sn/Ur3DFtiRp6cWpIx30bDSmAqi5RXITHhXi4b9/U
i+lcdYCcaqxOOpD2ppiZ29XvZEpUvW673swZ7/+/GdqCASCUdf0gzXyUmDob0qZm
9RI5OFbQExqCjGx2Tdl2dybBjJbhvALRpkadQrUl/ZLPnM1hPWh9jbV+OC75szc=
=DoTH
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: COMPATIBLE_MACHINE - how can use?
  2010-03-23 11:16 COMPATIBLE_MACHINE - how can use? Leo
@ 2010-03-25 21:33 ` Douglas Royds
  0 siblings, 0 replies; 2+ messages in thread
From: Douglas Royds @ 2010-03-25 21:33 UTC (permalink / raw)
  To: openembedded-devel

COMPATIBLE_MACHINE uses Python's re.match(), so COMPATIBLE_MACHINE is a
regular expression that must match the start of the MACHINE variable.
For instance, from recipes/linux/linux-davinci_2.6.30.bb:

    COMPATIBLE_MACHINE =
    "(dm6446-evm|dm6467-evm|dm355-evm|davinci-sffsdr|dm355-leopard)"

The following line would have much the same effect:

    COMPATIBLE_MACHINE = "(dm6446|dm6467|dm355|davinci)"

If you try to build this recipe for any non-matching MACHINE, it will
refuse. Additionally, if MACHINE="dm6446-evm" and you ask for a build of
the kernel, only three recipes are compatible:

    * linux-davinci_2.6.28.bb
    * linux-davinci_2.6.30.bb
    * linux-davinci_git.bb

The one that actually gets built will be chosen either alphanumerically,
or by respecting the DEFAULT_PREFERENCE or PREFERRED_VERSION variables.

Hope this helps,
Douglas.


Leo wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi at all,
> It's not long ago that I use OE and some things do not know very well.. :D
> For example, can someone explain me how (and where) can use
> COMPATIBLE_MACHINE?
>
>         thanks a lot for all response! :D
>                     hachreak





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-25 21:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-23 11:16 COMPATIBLE_MACHINE - how can use? Leo
2010-03-25 21:33 ` Douglas Royds

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.