libnl: FLAT: Avoid build feature cli when flat binary format is selected.
PATCH 1/1 libnl: FLAT: Avoid build feature cli when flat binary format is selected.
From: Sonic Zhang <[email protected]>
Feature cli depends on runtime library loader head dlfcn.h.
Signed-off-by Sonic Zhang <[email protected]>
--- package/libnl/libnl.mk | 4 ++++ 1 file changed, 4 insertions(+)
package/libnl/libnl.mk +4 -0
@@ -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
Signature · 1 line
1.7.9.5
PATCH 1/1 libnl: FLAT: Avoid build feature cli when flat binary format is selected.
Dear Sonic Zhang,
Quoted 14 lines · Sonic Zhang
From: Sonic Zhang <[email protected]>
Feature cli depends on runtime library loader head
dlfcn.h.Signed-off-by Sonic Zhang <[email protected]>--- package/libnl/libnl.mk | 4 ++++ 1 file changed, 4 insertions(+)package/libnl/libnl.mk +0
-0
package/libnl/libnl.mk LIBNL_BINARIES = class-add class-delete class-list classid-lookup cls-add \ · line 23
Quoted 10 lines
package/libnl/libnl.mk +4
-0@@ -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
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com