From: Tom Rini <tom_rini@mentor.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 3/3] gdb-cross-sdk: use static libncurses libtinfo libz and libexpat
Date: Wed, 22 Sep 2010 16:00:43 -0700 [thread overview]
Message-ID: <4C9A8A9B.6000904@mentor.com> (raw)
In-Reply-To: <1285194952-1831-3-git-send-email-eric@eukrea.com>
Eric Bénard wrote:
> * statically linking these libs prevents several runtime problems
Since ncurses 5.7 is default and otherwise switching down / staying down
is hard atm, I'm OK with the -lncurses -> libncurses + libtinfo change.
Acked-by: Tom Rini <tom_rini@mentor.com>
>
> Signed-off-by: Eric Bénard <eric@eukrea.com>
> ---
> recipes/gdb/gdb-cross-sdk.inc | 13 ++++++++++++-
> 1 files changed, 12 insertions(+), 1 deletions(-)
>
> diff --git a/recipes/gdb/gdb-cross-sdk.inc b/recipes/gdb/gdb-cross-sdk.inc
> index 7c85653..fbff553 100644
> --- a/recipes/gdb/gdb-cross-sdk.inc
> +++ b/recipes/gdb/gdb-cross-sdk.inc
> @@ -1,8 +1,19 @@
> require gdb-cross.inc
> LICENSE = "GPLv3"
>
> -INC_PR = "r6"
> +INC_PR = "r7"
>
> inherit sdk
>
> DEPENDS = "ncurses-sdk zlib-sdk flex-native"
> +EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils' LDFLAGS='${BUILD_LDFLAGS}'"
> +
> +do_configure_append () {
> + cd ${B}
> + oe_runmake configure-host
> + sed -e 's,-lncurses,${STAGING_LIBDIR_NATIVE}/libncurses.a ${STAGING_LIBDIR_NATIVE}/libtinfo.a ,g' -i ${B}/gdb/Makefile
> + sed -e 's,-lz, ${STAGING_LIBDIR_NATIVE}/libz.a ,g' -i ${B}/gdb/Makefile
> + sed -e 's,-lexpat, ${STAGING_LIBDIR_NATIVE}/libexpat.a ,g' -i ${B}/gdb/Makefile
> + sed -e 's,libexpat.so,libexpat.a ,g' -i ${B}/gdb/Makefile
> + sed -e 's,-lz, ${STAGING_LIBDIR_NATIVE}/libz.a ,g' -i ${B}/sim/arm/Makefile
> +}
> \ No newline at end of file
--
Tom Rini
Mentor Graphics Corporation
next prev parent reply other threads:[~2010-09-22 23:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-22 22:35 [PATCH 1/3] sdk.bbclass: allow virtclass-sdk override Eric Bénard
2010-09-22 22:35 ` [PATCH 2/3] qt4-tools-sdk: bring compatibility with QTCreator Eric Bénard
2010-09-22 22:35 ` [PATCH 3/3] gdb-cross-sdk: use static libncurses libtinfo libz and libexpat Eric Bénard
2010-09-22 23:00 ` Tom Rini [this message]
2010-09-23 1:55 ` [PATCH 2/3] qt4-tools-sdk: bring compatibility with QTCreator Cliff Brake
2010-09-23 6:32 ` Eric Bénard
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=4C9A8A9B.6000904@mentor.com \
--to=tom_rini@mentor.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.