[oe-commits] Stefan Schmidt : iw: Its compatible with libnl2 as well use it.

git version control git at git.openembedded.org
Wed Feb 9 09:35:02 UTC 2011


Module: openembedded.git
Branch: master
Commit: e88ef734d922a666dd66f6f4c8d3ffed0ea8883b
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e88ef734d922a666dd66f6f4c8d3ffed0ea8883b

Author: Stefan Schmidt <stefan at buglabs.net>
Date:   Thu Feb  3 14:51:01 2011 +0100

iw: Its compatible with libnl2 as well use it.

---

 recipes/iw/iw_0.9.20.bb |    6 +++++-
 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 6645e2e..c01f854 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





More information about the Openembedded-commits mailing list