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

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Nov 4 08:49:12 UTC 2013


Dear Sonic Zhang,

On Mon,  4 Nov 2013 16:41:30 +0800, Sonic Zhang wrote:
> 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

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



More information about the buildroot mailing list