Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/gdb: add optional support for xz
@ 2016-02-10 20:59 Bernd Kuhls
  2016-02-10 20:59 ` [Buildroot] [PATCH 1/1] package/libarchive: add optional support for bzip2 Bernd Kuhls
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Bernd Kuhls @ 2016-02-10 20:59 UTC (permalink / raw)
  To: buildroot

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>
---
 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
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-02-20 23:45 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2016-02-10 23:04   ` Thomas Petazzoni
2016-02-16 22:14 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox