Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] gdb-cross-sdk: don't reconfigure after making changes in gdb/Makefile
Date: Tue, 02 Nov 2010 15:46:57 +0100	[thread overview]
Message-ID: <4CD02461.3020106@eukrea.com> (raw)
In-Reply-To: <AANLkTi=0EsyQ38D1dyBRffGBWEoVo==6=H9+wrtcENyR@mail.gmail.com>

Le 02/11/2010 05:41, Khem Raj a écrit :
> On Mon, Nov 1, 2010 at 2:29 PM, Eric Bénard<eric@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@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@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




  reply	other threads:[~2010-11-02 14:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-01 21:29 [PATCH] gdb-cross-sdk: don't reconfigure after making changes in gdb/Makefile Eric Bénard
2010-11-02  4:41 ` Khem Raj
2010-11-02 14:46   ` Eric Bénard [this message]
2010-11-02 14:56     ` [PATCH] gdb-cross-sdk: reconfigure before running oe_runmake configure-host Eric Bénard
2010-11-02 17:56       ` Khem Raj
2010-11-02 20:47         ` Tom Rini
2010-11-02 14:57     ` [PATCH] gdb-cross-sdk: don't reconfigure after making changes in gdb/Makefile Tom Rini
2010-11-02 16:43       ` Eric Bénard
2010-11-02 20:47         ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CD02461.3020106@eukrea.com \
    --to=eric@eukrea.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox