* "Best" way to determine is building for target?
@ 2012-08-07 21:12 Slater, Joseph
2012-08-07 21:17 ` Richard Purdie
0 siblings, 1 reply; 3+ messages in thread
From: Slater, Joseph @ 2012-08-07 21:12 UTC (permalink / raw)
To: openembedded-core@lists.openembedded.org
[-- Attachment #1: Type: text/plain, Size: 234 bytes --]
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?
Joe
[-- Attachment #2: Type: text/html, Size: 2215 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: "Best" way to determine is building for target?
2012-08-07 21:12 "Best" way to determine is building for target? Slater, Joseph
@ 2012-08-07 21:17 ` Richard Purdie
2012-08-08 9:19 ` Paul Eggleton
0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2012-08-07 21:17 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: "Best" way to determine is building for target?
2012-08-07 21:17 ` Richard Purdie
@ 2012-08-08 9:19 ` Paul Eggleton
0 siblings, 0 replies; 3+ messages in thread
From: Paul Eggleton @ 2012-08-08 9:19 UTC (permalink / raw)
To: Slater, Joseph; +Cc: openembedded-core
On Tuesday 07 August 2012 22:17:21 Richard Purdie wrote:
> 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.
It's worth noting that this is only supported in current master (will be in
the next stable release). It was added in OE-Core revision
cf332fd9bf685f6d42b11c1f0c37b934c7f5bcbe.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-08-08 9:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-07 21:12 "Best" way to determine is building for target? Slater, Joseph
2012-08-07 21:17 ` Richard Purdie
2012-08-08 9:19 ` Paul Eggleton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox