Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 01/14] package/patch: add optional support for attr
@ 2016-02-21  9:50 Bernd Kuhls
  2016-02-21  9:50 ` [Buildroot] [PATCH 02/14] package/libglib2: add optional support for elfutils Bernd Kuhls
                   ` (13 more replies)
  0 siblings, 14 replies; 19+ messages in thread
From: Bernd Kuhls @ 2016-02-21  9:50 UTC (permalink / raw)
  To: buildroot

When attr was compiled before, patch will use it as optional dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/patch | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libattr.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.1]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/patch/patch.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/patch/patch.mk b/package/patch/patch.mk
index 765dfa9..3a94252 100644
--- a/package/patch/patch.mk
+++ b/package/patch/patch.mk
@@ -10,4 +10,11 @@ PATCH_SITE = $(BR2_GNU_MIRROR)/patch
 PATCH_LICENSE = GPLv3+
 PATCH_LICENSE_FILES = COPYING
 
+ifeq ($(BR2_PACKAGE_ATTR),y)
+PATCH_CONF_OPTS += --enable-attr
+PATCH_DEPENDENCIES += attr
+else
+PATCH_CONF_OPTS += --disable-attr
+endif
+
 $(eval $(autotools-package))
-- 
2.7.0

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

end of thread, other threads:[~2016-02-21 12:43 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-21  9:50 [Buildroot] [PATCH 01/14] package/patch: add optional support for attr Bernd Kuhls
2016-02-21  9:50 ` [Buildroot] [PATCH 02/14] package/libglib2: add optional support for elfutils Bernd Kuhls
2016-02-21  9:50 ` [Buildroot] [PATCH 03/14] package/pure-ftpd: " Bernd Kuhls
2016-02-21  9:50 ` [Buildroot] [PATCH 04/14] package/iproute2: " Bernd Kuhls
2016-02-21  9:50 ` [Buildroot] [PATCH 05/14] package/openipmi: add optional support for gdbm Bernd Kuhls
2016-02-21  9:50 ` [Buildroot] [PATCH 06/14] package/zsh: " Bernd Kuhls
2016-02-21  9:50 ` [Buildroot] [PATCH 07/14] package/zsh: add optional support for libcap Bernd Kuhls
2016-02-21  9:50 ` [Buildroot] [PATCH 08/14] package/zsh: add optional support for pcre Bernd Kuhls
2016-02-21  9:50 ` [Buildroot] [PATCH 09/14] package/pulseaudio: add optional support for gdbm Bernd Kuhls
2016-02-21  9:50 ` [Buildroot] [PATCH 10/14] package/pulseaudio: add optional support for jack2 Bernd Kuhls
2016-02-21  9:50 ` [Buildroot] [PATCH 11/14] package/pulseaudio: add optional support for libsoxr Bernd Kuhls
2016-02-21  9:50 ` [Buildroot] [PATCH 12/14] package/pulseaudio: add optional support for udev Bernd Kuhls
2016-02-21 11:48   ` Thomas Petazzoni
2016-02-21  9:50 ` [Buildroot] [PATCH 13/14] package/jack2: add optional support for opus Bernd Kuhls
2016-02-21 10:51   ` Arnout Vandecappelle
2016-02-21 11:03     ` Bernd Kuhls
2016-02-21 12:43       ` Yann E. MORIN
2016-02-21  9:50 ` [Buildroot] [PATCH 14/14] package/jack2: add optional support for readline Bernd Kuhls
2016-02-21 11:47 ` [Buildroot] [PATCH 01/14] package/patch: add optional support for attr Thomas Petazzoni

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