All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/links: add optional support for libevent
@ 2016-02-10 20:58 Bernd Kuhls
  2016-02-10 20:58 ` [Buildroot] [PATCH 2/2] package/links: add optional support for xz Bernd Kuhls
  2016-02-16 22:11 ` [Buildroot] [PATCH 1/2] package/links: add optional support for libevent Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Bernd Kuhls @ 2016-02-10 20:58 UTC (permalink / raw)
  To: buildroot

When libevent was compiled before, links will use it as optional
dependency:

$ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a output/target/usr/bin/links | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [liblzma.so.5]
 0x00000001 (NEEDED)                     Shared library: [libbz2.so.1.0]
 0x00000001 (NEEDED)                     Shared library: [libz.so.1]
 0x00000001 (NEEDED)                     Shared library: [libevent-2.0.so.5]
 0x00000001 (NEEDED)                     Shared library: [libc.so.1]

(xz support will be added with the next patch of this series)

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

diff --git a/package/links/links.mk b/package/links/links.mk
index ba55061..b948de4 100644
--- a/package/links/links.mk
+++ b/package/links/links.mk
@@ -39,6 +39,10 @@ ifeq ($(BR2_PACKAGE_BZIP2),y)
 LINKS_DEPENDENCIES += bzip2
 endif
 
+ifeq ($(BR2_PACKAGE_LIBEVENT),y)
+LINKS_DEPENDENCIES += libevent
+endif
+
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 LINKS_DEPENDENCIES += openssl
 endif
-- 
2.7.0

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

* [Buildroot] [PATCH 2/2] package/links: add optional support for xz
  2016-02-10 20:58 [Buildroot] [PATCH 1/2] package/links: add optional support for libevent Bernd Kuhls
@ 2016-02-10 20:58 ` Bernd Kuhls
  2016-02-16 22:11 ` [Buildroot] [PATCH 1/2] package/links: add optional support for libevent Thomas Petazzoni
  1 sibling, 0 replies; 4+ messages in thread
From: Bernd Kuhls @ 2016-02-10 20:58 UTC (permalink / raw)
  To: buildroot

When xz was compiled before, links will use it as optional dependency:

$ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a output/target/usr/bin/links | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [liblzma.so.5]
 0x00000001 (NEEDED)                     Shared library: [libbz2.so.1.0]
 0x00000001 (NEEDED)                     Shared library: [libz.so.1]
 0x00000001 (NEEDED)                     Shared library: [libevent-2.0.so.5]
 0x00000001 (NEEDED)                     Shared library: [libc.so.1]

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

diff --git a/package/links/links.mk b/package/links/links.mk
index b948de4..4d2cb2e 100644
--- a/package/links/links.mk
+++ b/package/links/links.mk
@@ -47,6 +47,10 @@ ifeq ($(BR2_PACKAGE_OPENSSL),y)
 LINKS_DEPENDENCIES += openssl
 endif
 
+ifeq ($(BR2_PACKAGE_XZ),y)
+LINKS_DEPENDENCIES += xz
+endif
+
 ifeq ($(BR2_PACKAGE_ZLIB),y)
 LINKS_DEPENDENCIES += zlib
 endif
-- 
2.7.0

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

* [Buildroot] [PATCH 1/2] package/links: add optional support for libevent
  2016-02-10 20:58 [Buildroot] [PATCH 1/2] package/links: add optional support for libevent Bernd Kuhls
  2016-02-10 20:58 ` [Buildroot] [PATCH 2/2] package/links: add optional support for xz Bernd Kuhls
@ 2016-02-16 22:11 ` Thomas Petazzoni
  2016-02-20 14:21   ` Bernd Kuhls
  1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2016-02-16 22:11 UTC (permalink / raw)
  To: buildroot

Dear Bernd Kuhls,

On Wed, 10 Feb 2016 21:58:41 +0100, Bernd Kuhls wrote:
> When libevent was compiled before, links will use it as optional
> dependency:
> 
> $ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a output/target/usr/bin/links | grep NEEDED
>  0x00000001 (NEEDED)                     Shared library: [liblzma.so.5]
>  0x00000001 (NEEDED)                     Shared library: [libbz2.so.1.0]
>  0x00000001 (NEEDED)                     Shared library: [libz.so.1]
>  0x00000001 (NEEDED)                     Shared library: [libevent-2.0.so.5]
>  0x00000001 (NEEDED)                     Shared library: [libc.so.1]
> 
> (xz support will be added with the next patch of this series)
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/links/links.mk | 4 ++++
>  1 file changed, 4 insertions(+)

I've applied both patches to master. However, could you send another
patch that forces --with-<foo>/--without-<foo> ? Since we were not
doing that for other dependencies, I applied your patches as-is, but I
would like to see those options added explicitly.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 1/2] package/links: add optional support for libevent
  2016-02-16 22:11 ` [Buildroot] [PATCH 1/2] package/links: add optional support for libevent Thomas Petazzoni
@ 2016-02-20 14:21   ` Bernd Kuhls
  0 siblings, 0 replies; 4+ messages in thread
From: Bernd Kuhls @ 2016-02-20 14:21 UTC (permalink / raw)
  To: buildroot

Am Tue, 16 Feb 2016 23:11:04 +0100 schrieb Thomas Petazzoni:

> I've applied both patches to master. However, could you send another
> patch that forces --with-<foo>/--without-<foo> ? Since we were not doing
> that for other dependencies, I applied your patches as-is, but I would
> like to see those options added explicitly.

Hi Thomas,

do you prefer the patches for the master or the next branch?

Regards, Bernd

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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-10 20:58 [Buildroot] [PATCH 1/2] package/links: add optional support for libevent Bernd Kuhls
2016-02-10 20:58 ` [Buildroot] [PATCH 2/2] package/links: add optional support for xz Bernd Kuhls
2016-02-16 22:11 ` [Buildroot] [PATCH 1/2] package/links: add optional support for libevent Thomas Petazzoni
2016-02-20 14:21   ` Bernd Kuhls

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.