From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/gdb: add optional support for xz
Date: Wed, 10 Feb 2016 22:23:14 +0100 [thread overview]
Message-ID: <56BBAA42.7000604@mind.be> (raw)
In-Reply-To: <1455137950-18164-1-git-send-email-bernd.kuhls@t-online.de>
On 10-02-16 21:59, Bernd Kuhls wrote:
> When xz was compiled before, gdb will use it as optional dependency:
>
> $ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a output/target/usr/bin/gdb | grep NEEDED
> 0x00000001 (NEEDED) Shared library: [libdl.so.1]
> 0x00000001 (NEEDED) Shared library: [libncurses.so.5]
> 0x00000001 (NEEDED) Shared library: [libz.so.1]
> 0x00000001 (NEEDED) Shared library: [libm.so.1]
> 0x00000001 (NEEDED) Shared library: [liblzma.so.5]
> 0x00000001 (NEEDED) Shared library: [libc.so.1]
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
This would obviously be needed for host-gdb as well, but that is impossible to
handle without explicit host Config.in options.
I really think we should go that way, there are several problems that need it.
Regards,
Arnout
> ---
> package/gdb/gdb.mk | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
> index 3b0f501..32d52eb 100644
> --- a/package/gdb/gdb.mk
> +++ b/package/gdb/gdb.mk
> @@ -118,6 +118,13 @@ else
> GDB_CONF_OPTS += --without-expat
> endif
>
> +ifeq ($(BR2_PACKAGE_XZ),y)
> +GDB_CONF_OPTS += --with-lzma
> +GDB_DEPENDENCIES += xz
> +else
> +GDB_CONF_OPTS += --without-lzma
> +endif
> +
> ifeq ($(BR2_PACKAGE_ZLIB),y)
> GDB_CONF_OPTS += --with-zlib
> GDB_DEPENDENCIES += zlib
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
next prev parent reply other threads:[~2016-02-10 21:23 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-10 20:59 [Buildroot] [PATCH 1/1] package/gdb: add optional support for xz Bernd Kuhls
2016-02-10 20:59 ` [Buildroot] [PATCH 1/1] package/libarchive: add optional support for bzip2 Bernd Kuhls
2016-02-10 21:19 ` Arnout Vandecappelle
2016-02-16 22:15 ` Thomas Petazzoni
2016-02-20 13:49 ` Bernd Kuhls
2016-02-20 23:45 ` Arnout Vandecappelle
2016-02-10 20:59 ` [Buildroot] [PATCH 1/1] package/tiff: add optional support for xz Bernd Kuhls
2016-02-16 22:16 ` Thomas Petazzoni
2016-02-10 21:14 ` [Buildroot] [PATCH 1/1] package/gdb: " Arnout Vandecappelle
2016-02-10 21:34 ` Bernd Kuhls
2016-02-16 22:19 ` Peter Korsgaard
2016-02-10 21:23 ` Arnout Vandecappelle [this message]
2016-02-10 23:04 ` Thomas Petazzoni
2016-02-16 22:14 ` Thomas Petazzoni
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=56BBAA42.7000604@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/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.