[oe] COMPATIBLE_MACHINE - how can use?

2010-03-23 Thread Leo
-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-

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] COMPATIBLE_MACHINE - how can use?

2010-03-25 Thread Douglas Royds

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




___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel