Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: "Best" way to determine is building for target?
Date: Tue, 07 Aug 2012 22:17:21 +0100	[thread overview]
Message-ID: <1344374241.9756.302.camel@ted> (raw)
In-Reply-To: <007BD92917A2324FA403BCF9A464CF841FFA4167@ALA-MBA.corp.ad.wrs.com>

On Tue, 2012-08-07 at 21:12 +0000, Slater, Joseph wrote:
> To change the installation for popt but not popt-native, I said
>  
> do_install_append_pn-popt {
>   ...
> }
>  
> which seems to work, but is there a better way, like some
> ${@building_for_host("yes text","no text",d)}
> construct?
>  

There is the new class-target override:

do_install_append_class-target {
 ...
}


(along with class-native, class-cross and class-nativesdk)

These are due to replace the virtclass-xxxx variants but we've not
gotten around to that yet. Its a relatively new addition to the system
but should be a useful one and allow some cleanup.

Cheers,

Richard




  reply	other threads:[~2012-08-07 21:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-07 21:12 "Best" way to determine is building for target? Slater, Joseph
2012-08-07 21:17 ` Richard Purdie [this message]
2012-08-08  9:19   ` Paul Eggleton

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=1344374241.9756.302.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@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