From patchwork Sat Nov 2 10:26:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 287968 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 2D1162C00E2 for ; Sat, 2 Nov 2013 21:26:51 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 2BABD32F3F; Sat, 2 Nov 2013 10:26:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BALkYL8jk9pv; Sat, 2 Nov 2013 10:26:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id B0B4132EF0; Sat, 2 Nov 2013 10:26:41 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 7F41F1BF867 for ; Sat, 2 Nov 2013 10:26:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7AB6E8B3E0 for ; Sat, 2 Nov 2013 10:26:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eXxJ0QIR3mzV for ; Sat, 2 Nov 2013 10:26:38 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (top.free-electrons.com [176.31.233.9]) by whitealder.osuosl.org (Postfix) with ESMTP id CB0CE8B823 for ; Sat, 2 Nov 2013 10:26:38 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 20F67860; Sat, 2 Nov 2013 11:26:43 +0100 (CET) Received: from localhost (AToulouse-651-1-1-143.w92-149.abo.wanadoo.fr [92.149.56.143]) by mail.free-electrons.com (Postfix) with ESMTPSA id CB0C3854 for ; Sat, 2 Nov 2013 11:26:32 +0100 (CET) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Sat, 2 Nov 2013 11:26:26 +0100 Message-Id: <1383387986-9508-2-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1383387986-9508-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1383387986-9508-1-git-send-email-thomas.petazzoni@free-electrons.com> Subject: [Buildroot] [PATCH 2/2] libnl: do not allow to build tools on static lib configs X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Building the libnl tools requires the header, which is not compatible with static only builds. Therefore, this commit makes the libnl tools option depend on !BR2_PREFER_STATIC_LIB. Fixes: http://autobuild.buildroot.org/results/573/57340b9bd2db3a523836e02e01cba6f7c17c8ca7/build-end.log Signed-off-by: Thomas Petazzoni Acked-by: "Yann E. MORIN" Acked-by: Samuel Martin --- package/libnl/Config.in | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/package/libnl/Config.in b/package/libnl/Config.in index fec10d3..be41b07 100644 --- a/package/libnl/Config.in +++ b/package/libnl/Config.in @@ -6,11 +6,18 @@ config BR2_PACKAGE_LIBNL http://people.suug.ch/~tgr/libnl/ +comment "libnl needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS + +if BR2_PACKAGE_LIBNL + config BR2_PACKAGE_LIBNL_TOOLS bool "install tools" - depends on BR2_PACKAGE_LIBNL + # uses + depends on !BR2_PREFER_STATIC_LIB help Install binary tools. -comment "libnl needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS +comment "libnl tools need a toolchain w/ dynamic library" + +endif