Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Douglas Royds <douglas.royds@taitradio.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: COMPATIBLE_MACHINE - how can use?
Date: Fri, 26 Mar 2010 10:33:44 +1300	[thread overview]
Message-ID: <4BABD6B8.8020208@taitradio.com> (raw)
In-Reply-To: <4BA8A2FA.4040107@koansoftware.com>

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





      reply	other threads:[~2010-03-25 21:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-23 11:16 COMPATIBLE_MACHINE - how can use? Leo
2010-03-25 21:33 ` Douglas Royds [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BABD6B8.8020208@taitradio.com \
    --to=douglas.royds@taitradio.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox