[oe-commits] Damien RANNOU : HostAP-daemon patch to make it compile with libnl 3.2
git at git.openembedded.org
git at git.openembedded.org
Thu Jan 3 22:27:45 UTC 2013
Module: meta-openembedded.git
Branch: master
Commit: ccda63446b88206a4bcbc91d32b6b6148c931055
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=ccda63446b88206a4bcbc91d32b6b6148c931055
Author: Damien RANNOU <damien.rannou at diateam.net>
Date: Wed Jan 2 10:21:21 2013 +0000
HostAP-daemon patch to make it compile with libnl 3.2
Signed-off-by: Damien RANNOU <damien.rannou at diateam.net>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../hostapd/hostap-daemon-1.0/defconfig | 2 +-
.../hostapd/hostap-daemon_1.0.bb | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/meta-oe/recipes-connectivity/hostapd/hostap-daemon-1.0/defconfig b/meta-oe/recipes-connectivity/hostapd/hostap-daemon-1.0/defconfig
index 1f3c6f4..2789640 100644
--- a/meta-oe/recipes-connectivity/hostapd/hostap-daemon-1.0/defconfig
+++ b/meta-oe/recipes-connectivity/hostapd/hostap-daemon-1.0/defconfig
@@ -24,7 +24,7 @@ CONFIG_DRIVER_PRISM54=y
# Driver interface for drivers using the nl80211 kernel interface
CONFIG_DRIVER_NL80211=y
-CONFIG_LIBNL20=y
+CONFIG_LIBNL32=y
# driver_nl80211.c requires a rather new libnl (version 1.1) which may not be
# shipped with your distribution yet. If that is the case, you need to build
# newer libnl version and point the hostapd build to use it.
diff --git a/meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb b/meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb
index 310e8aa..e62531f 100644
--- a/meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb
+++ b/meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb
@@ -26,6 +26,7 @@ do_configure() {
}
do_compile() {
+ export CFLAGS="-MMD -O2 -Wall -g -I${STAGING_INCDIR}/libnl3"
make
}
More information about the Openembedded-commits
mailing list