aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/iw
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@buglabs.net>2011-02-03 14:51:01 +0100
committerStefan Schmidt <stefan@buglabs.net>2011-02-09 10:33:26 +0100
commite88ef734d922a666dd66f6f4c8d3ffed0ea8883b (patch)
treebb9e4ce70428670ca9552e796d786ef844f0e821 /recipes/iw
parenta7e3f3276ae56158402e854154a0784319f193f1 (diff)
downloadopenembedded-e88ef734d922a666dd66f6f4c8d3ffed0ea8883b.tar.gz
iw: Its compatible with libnl2 as well use it.
Diffstat (limited to 'recipes/iw')
-rw-r--r--recipes/iw/iw_0.9.20.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes/iw/iw_0.9.20.bb b/recipes/iw/iw_0.9.20.bb
index 6645e2ef48..c01f85416c 100644
--- a/recipes/iw/iw_0.9.20.bb
+++ b/recipes/iw/iw_0.9.20.bb
@@ -5,12 +5,16 @@ PRIORITY = "optional"
LICENSE = "BSD"
PR = "r1"
-DEPENDS = "libnl pkgconfig"
+DEPENDS = "libnl2 pkgconfig"
SRC_URI = " \
http://wireless.kernel.org/download/iw/${P}.tar.bz2 \
file://kill-git-version-check.patch \
"
+# We stage libnl2 header files not directly as they clash with libnl files. Once
+# we only use libnl2 and stage the headers at the normal place we can remove
+# this.
+CFLAGS += "-I${STAGING_INCDIR}/libnl2/ -DCONFIG_LIBNL20"
do_compile() {
oe_runmake