[oe] [PATCH]Removing Legacy staging from genboot native recipe
Frans Meulenbroeks
fransmeulenbroeks at gmail.com
Sat Aug 14 08:41:25 UTC 2010
2010/8/13 Koen Kooi <k.kooi at student.utwente.nl>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 13-08-10 14:25, Frans Meulenbroeks wrote:
>> 2010/8/13 Paul Menzel <paulepanter at users.sourceforge.net>:
>>> Am Freitag, den 13.08.2010, 17:17 +0600 schrieb noor_ahsan at mentor.com:
>
>>>> +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
More information about the Openembedded-devel
mailing list