* [Buildroot] [PATCH] libnl: FLAT: Avoid build feature cli when flat binary format is selected.
@ 2013-11-04 8:41 Sonic Zhang
2013-11-04 8:49 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Sonic Zhang @ 2013-11-04 8:41 UTC (permalink / raw)
To: buildroot
From: Sonic Zhang <sonic.zhang@analog.com>
Feature cli depends on runtime library loader head dlfcn.h.
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
---
package/libnl/libnl.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/libnl/libnl.mk b/package/libnl/libnl.mk
index 5c884d7..90e588b 100644
--- a/package/libnl/libnl.mk
+++ b/package/libnl/libnl.mk
@@ -14,6 +14,10 @@ LIBNL_BINARIES = class-add class-delete class-list classid-lookup cls-add \
cls-delete cls-list link-list pktloc-lookup qdisc-add qdisc-delete \
qdisc-list
+ifeq ($(BR2_BINFMT_FLAT),y)
+LIBNL_CONF_OPT = --disable-cli
+endif
+
define LIBNL_UNINSTALL_TARGET_CMDS
rm -r $(TARGET_DIR)/usr/lib/libnl.* $(TARGET_DIR)/usr/lib/libnl-*.*
rm -rf $(TARGET_DIR)/usr/lib/libnl
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] libnl: FLAT: Avoid build feature cli when flat binary format is selected.
2013-11-04 8:41 [Buildroot] [PATCH] libnl: FLAT: Avoid build feature cli when flat binary format is selected Sonic Zhang
@ 2013-11-04 8:49 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2013-11-04 8:49 UTC (permalink / raw)
To: buildroot
Dear Sonic Zhang,
On Mon, 4 Nov 2013 16:41:30 +0800, Sonic Zhang wrote:
> From: Sonic Zhang <sonic.zhang@analog.com>
>
> Feature cli depends on runtime library loader head dlfcn.h.
>
> Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
> ---
> package/libnl/libnl.mk | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/package/libnl/libnl.mk b/package/libnl/libnl.mk
> index 5c884d7..90e588b 100644
> --- a/package/libnl/libnl.mk
> +++ b/package/libnl/libnl.mk
> @@ -14,6 +14,10 @@ LIBNL_BINARIES = class-add class-delete class-list classid-lookup cls-add \
> cls-delete cls-list link-list pktloc-lookup qdisc-add qdisc-delete \
> qdisc-list
>
> +ifeq ($(BR2_BINFMT_FLAT),y)
> +LIBNL_CONF_OPT = --disable-cli
> +endif
> +
> define LIBNL_UNINSTALL_TARGET_CMDS
> rm -r $(TARGET_DIR)/usr/lib/libnl.* $(TARGET_DIR)/usr/lib/libnl-*.*
> rm -rf $(TARGET_DIR)/usr/lib/libnl
Thanks but this has already been fixed by the patches I have sent this
week-end:
http://lists.busybox.net/pipermail/buildroot/2013-November/081595.html
http://lists.busybox.net/pipermail/buildroot/2013-November/081596.html
Thanks a lot!
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-04 8:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-04 8:41 [Buildroot] [PATCH] libnl: FLAT: Avoid build feature cli when flat binary format is selected Sonic Zhang
2013-11-04 8:49 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox