From patchwork Wed Jul 2 12:51:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 366370 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 17D661400E8 for ; Wed, 2 Jul 2014 22:52:08 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C7ED18BD9B; Wed, 2 Jul 2014 12:52:06 +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 7kDoyHwNvfeq; Wed, 2 Jul 2014 12:52:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 51EB38BCE8; Wed, 2 Jul 2014 12:52:04 +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 6F7921BFA7F for ; Wed, 2 Jul 2014 12:52:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6C2AD8A188 for ; Wed, 2 Jul 2014 12:52:02 +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 0bkMQ+fYTju0 for ; Wed, 2 Jul 2014 12:52:01 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [78.46.79.162]) by whitealder.osuosl.org (Postfix) with ESMTPS id 6C37E87A38 for ; Wed, 2 Jul 2014 12:52:01 +0000 (UTC) Received: from asgard (host228.190-226-84.telecom.net.ar [190.226.84.228]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.9/8.14.9) with ESMTP id s62CpstO004528 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 2 Jul 2014 12:51:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1404305519; bh=ca8oIVryIHCCTnFC1VWpAluBy2Px6TwuVwqP+mKI900=; h=From:To:Cc:Subject:Date; b=kuYH3W2UK7CF73guS7S8sDB/jsasmSkrLDcixuHkHYdltmTxjGHzW7G55tAtWvZ1l cfEb6LA43efCQ5b0b1aHzg8NtwiU2lL6Maex68xA6JgMM5s2wpArrNpo+hItUGnhzi xePYKmoAXhTVz/Qs/+1fcyMIkpro9DP06fNu0bno= Received: by asgard (sSMTP sendmail emulation); Wed, 02 Jul 2014 09:51:49 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Wed, 2 Jul 2014 09:51:48 -0300 Message-Id: <1404305508-30330-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.8.5.5 X-Virus-Scanned: clamav-milter 0.98.1 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH] crda: needs dynamic library support 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 Fixes: http://autobuild.buildroot.net/results/d75/d752a8d53ad9219b60113075c91c4dcc3e4027c1/ Even if the build system were fixed to deal with that it's only really useful for systemd/udev scenarios with require dynamic libs as well. For static scenarios people should look at using CONFIG_CFG80211_INTERNAL_REGDB in the kernel. Signed-off-by: Gustavo Zacarias --- package/crda/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/crda/Config.in b/package/crda/Config.in index 0e0eb7f..f67ea77 100644 --- a/package/crda/Config.in +++ b/package/crda/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_CRDA bool "crda" depends on BR2_TOOLCHAIN_HAS_THREADS # libnl + depends on !BR2_PREFER_STATIC_LIB select BR2_PACKAGE_LIBGCRYPT select BR2_PACKAGE_LIBNL # regdb is a runtime dependency @@ -17,6 +18,6 @@ config BR2_PACKAGE_CRDA http://linuxwireless.org/en/developers/Regulatory/CRDA -comment "crda needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS +comment "crda needs a toolchain w/ threads, dynamic library" + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB depends on !BR2_nios2