[oe] [meta-oe][PATCH] HostAP-daemon patch to make it compile with libnl 3.2
Damien RANNOU
damien.rannou at diateam.net
Wed Jan 2 10:21:21 UTC 2013
Signed-off-by: Damien RANNOU <damien.rannou at diateam.net>
---
meta-oe/recipes-connectivity/hostapd/hostap-daemon-1.0/defconfig | 2 +-
meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
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
}
--
1.7.10.4
More information about the Openembedded-devel
mailing list