[oe] [PATCH] gdb-cross-sdk: don't reconfigure after making changes in gdb/Makefile

Eric Bénard eric at eukrea.com
Tue Nov 2 14:46:57 UTC 2010


Le 02/11/2010 05:41, Khem Raj a écrit :
> On Mon, Nov 1, 2010 at 2:29 PM, Eric Bénard<eric at eukrea.com>  wrote:
>> else we don't statically link libncurses, libtinfo and libz which leads
>> to :
>> /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gdb:
>> error while loading shared libraries: libtinfo.so.5:
>> cannot open shared object file: No such file or directory
>>
>> when trying to use the toolchain.
>
> could you run oe_runconf and then do the Makefile editing ? that way
> it will work as expected.
> we sort of need oe_runconf
>
the makefile we hack with sed is not created after oe_runconf, it's generated 
by oe_runmake configure-host
So what should work is :
oe_runconf
oe_runmake
then sed

Eric

>>
>> Signed-off-by: Eric Bénard<eric at eukrea.com>
>> ---
>>   recipes/gdb/gdb-cross-sdk.inc |    1 -
>>   1 files changed, 0 insertions(+), 1 deletions(-)
>>
>> diff --git a/recipes/gdb/gdb-cross-sdk.inc b/recipes/gdb/gdb-cross-sdk.inc
>> index 6a708ca..d32111f 100644
>> --- a/recipes/gdb/gdb-cross-sdk.inc
>> +++ b/recipes/gdb/gdb-cross-sdk.inc
>> @@ -16,5 +16,4 @@ do_configure_append () {
>>         for SIM in ${B}/sim/*/Makefile; do
>>                 [ -f $SIM ]&&  sed -e 's,-lz, ${STAGING_LIBDIR_NATIVE}/libz.a ,g' -i $SIM
>>         done
>> -       oe_runconf
>>   }
>> --
>> 1.6.3.3
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
> _______________________________________________
> 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