From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Mon, 4 Nov 2013 09:49:12 +0100 Subject: [Buildroot] [PATCH] libnl: FLAT: Avoid build feature cli when flat binary format is selected. In-Reply-To: <1383554490-10749-1-git-send-email-sonic.zhang@analog.com> References: <1383554490-10749-1-git-send-email-sonic.zhang@analog.com> Message-ID: <20131104094912.62a7648d@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Dear Sonic Zhang, On Mon, 4 Nov 2013 16:41:30 +0800, Sonic Zhang wrote: > From: Sonic Zhang > > Feature cli depends on runtime library loader head dlfcn.h. > > Signed-off-by: Sonic Zhang > --- > 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