[oe] [PATCH]Removing Legacy staging from genboot native recipe

Ahsan, Noor Noor_Ahsan at mentor.com
Fri Aug 13 06:53:31 UTC 2010


>-----Original Message-----
>From: openembedded-devel-bounces at lists.openembedded.org > > > > > > > > > > >[mailto:openembedded-devel-bounces at lists.openembedded.org] On Behalf Of >Frans Meulenbroeks
>Sent: Friday, August 13, 2010 11:30 AM
>To: openembedded-devel at lists.openembedded.org
>Subject: Re: [oe] [PATCH]Removing Legacy staging from genboot native recipe
>
>2010/8/13  <noor_ahsan at mentor.com>:
>> genboot: Removing legacy staging
>>
>> * Replaced do_stage function with do_install and replaced >${STAGING_BINDIR} with ${D}${bindir}
>> Signed-off-by: Noor Ahsan <noor_ahsan at mentorg.com>
>> diff --git a/recipes/simpad-utilities/genboot-native.bb b/recipes/simpad->utilities/genboot-native.bb
>> index 47b9b34..966a450 100644
>> --- a/recipes/simpad-utilities/genboot-native.bb>
>> +++ b/recipes/simpad-utilities/genboot-native.bb
>> @@ -9,12 +9,15 @@ DEPENDS = "pad-native"
>>
>>  inherit native
>>
>> +NATIVE_INSTALL_WORKS = "1"
>> +
>>  do_compile() {
>>        cp ${WORKDIR}/*.h ${WORKDIR}/*.c .
>>        ${CC} -I. -o genboot gen_boot.c
>>  }
>>
>> -do_stage() {
>> -       install -m 0755 genboot ${STAGING_BINDIR}/
>> -       install -m 0755 ${WORKDIR}/simpad-make-flashimg >${STAGING_BINDIR}/
>> +do_install() {
>> +       install -d ${D}${bindir}/
>> +       install -m 0755 genboot ${D}${bindir}/
>> +       install -m 0755 ${WORKDIR}/simpad-make-flashimg ${D}${bindir}/
>>  }
>>

>You might also want to bumnp PR (although logically nothing changed so
>this is perhaps not needed)
>Can you also have a look at serload-native?
>And maybe trun it to contrib/oe-stylize.py

I also have patch for serload-native. Thanks for letting me know oe_stylize.py, I'll use it for sending the patch.


Acked-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>

_______________________________________________
Openembedded-devel mailing list
Openembedded-devel at lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




More information about the Openembedded-devel mailing list