Re: [yocto] running task only for native but not target?

2015-03-13 Thread Paul Eggleton
Hi Yannick, On Thursday 12 March 2015 19:05:13 Koehler, Yannick wrote: I have a package that produce a binary that I need for native, and an C header file that I need for target. I put the following do_install function to install appropriately the bin or header according to the class:

Re: [yocto] running task only for native but not target?

2015-03-13 Thread Koehler, Yannick (HP Networking)
...@linux.intel.com] Envoyé : March-13-15 5:02 AM À : Koehler, Yannick (HP Networking) Cc : yocto@yoctoproject.org Objet : Re: [yocto] running task only for native but not target? Hi Yannick, On Thursday 12 March 2015 19:05:13 Koehler, Yannick wrote: I have a package that produce a binary that I need

Re: [yocto] running task only for native but not target?

2015-03-13 Thread Burton, Ross
On 13 March 2015 at 11:46, Koehler, Yannick (HP Networking) yannick.koeh...@hp.com wrote: Thanks, yes that is likely to work, I will try it. I was looking for a more Yocto-like solution using the overriding stuff but it seems the overriding doesn't apply in this particular situation. An

[yocto] running task only for native but not target?

2015-03-12 Thread Koehler, Yannick (HP Networking)
I have a package that produce a binary that I need for native, and an C header file that I need for target. I put the following do_install function to install appropriately the bin or header according to the class: do_install_append_class-target () { install -d