[Buildroot] [PATCH] libnl: FLAT: Avoid build feature cli when flat binary format is selected.

Sonic Zhang sonic.adi at gmail.com
Mon Nov 4 08:41:30 UTC 2013


From: Sonic Zhang <sonic.zhang at analog.com>

Feature cli depends on runtime library loader head dlfcn.h.

Signed-off-by: Sonic Zhang <sonic.zhang at 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



More information about the buildroot mailing list