[oe] [PATCH] crda: fix regulatory domain agent for building with libnl2

Eyal Reizer eyalreizer at googlemail.com
Mon Jun 6 15:06:35 UTC 2011


This patch allows building the wireless regulatory domain agent with
libnl version 2.

Signed-off-by: Eyal Reizer <eyalr at ti.com>
---
 recipes/crda/crda_1.1.1.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/recipes/crda/crda_1.1.1.bb b/recipes/crda/crda_1.1.1.bb
index cc19b90..046a9b7 100644
--- a/recipes/crda/crda_1.1.1.bb
+++ b/recipes/crda/crda_1.1.1.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://wireless.kernel.org/en/developers/Regulatory/CRDA"
 SECTION = "base"
 PRIORITY = "optional"
 LICENSE = "ISC"
-PR = "r1"
+PR = "r2"
 
 DEPENDS = "libgcrypt libnl python-native python-m2crypto-native"
 RDEPENDS_${PN} = "udev"
@@ -12,6 +12,8 @@ SRC_URI = "http://wireless.kernel.org/download/crda/${P}.tar.bz2;name=crda \
 	http://wireless.kernel.org/download/wireless-regdb/regulatory.bins/2009.11.25-regulatory.bin;name=reg \
 	"
 
+CFLAGS += " -DCONFIG_LIBNL20"
+
 do_compile() {
 	oe_runmake all_noverify
 }
-- 
1.7.0.4





More information about the Openembedded-devel mailing list