[yocto] how to use native executable from one recipe during install in another recipe
Eric Bénard
eric at eukrea.com
Thu Apr 11 05:53:30 PDT 2013
Hi Michael,
Le Thu, 11 Apr 2013 11:58:50 +0000,
Michael Fainstein <Michael.Fainstein at ecitele.com> a écrit :
> I have one recipe that inherits "native", builds native executable and installs it in tmp/work/x86_64-linux/foo-native-1.00-r0/image/sbin/foo
>
do you have BBCLASSEXTEND = "native" in this recipe ?
In the end, isn't the native binary installed in :
sysroots/x86_64-linux/usr/sbin/ ?
> Another recipe depends on first one and needs to execute foo in its do_install in order to install files in tmp/work/ppce500v2-fsl-linux-gnuspe/foo-1.00-r0/image/etc/
>
> I can't find a way to do it. Any suggestions? How can I install foo in first recipe to some common location that 2nd recipe can use? Is there such standard location?
>
You should then be able to call it in the other recipe as IIRC this path
is in $PATH (and your recipe should depend on foo-native)
Eric
More information about the yocto
mailing list