2010/8/13 Koen Kooi <[email protected]>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 13-08-10 14:25, Frans Meulenbroeks wrote:
>> 2010/8/13 Paul Menzel <[email protected]>:
>>> Am Freitag, den 13.08.2010, 17:17 +0600 schrieb [email protected]:
>
>>>> +NATIVE_INSTALL_WORKS = "1"
>>>
>>> I am really a noob, but is not that for “normal”, i.e. no *-native,
>>> recipes indicating no explicit native recipe is needed?
>>
>> Afaik this is not needed.
>
> If your -native recipe has something different than 'make install' in
> do_install, it needs NATIVE_INSTALL_WORKS = "1" but only if you use
> BBCLASSEXTEND to make it native.
>
The BBCLASSEXTEND part does not matter.
If you have a -native recipe that does not use autotools and does not
use make install
NATIVE_INSTALL_WORKS = "1"
is needed. Without it the following code is generated:
do_stage_native() {
# If autotools is active, use the autotools staging function, else
# use our "make install" equivalent
if [ "${AUTOTOOLS_NATIVE_STAGE_INSTALL}" == "1" ]
then
autotools_stage_all
else
oe_runmake install
fi
}
BTW this is a recipe that has no target equivalent so there is no
non-native variant.
Frans
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel