[oe] [PATCH 1/4] hostapd 0.7.3: convert to libnl2
Denis 'GNUtoo' Carikli
GNUtoo at no-log.org
Thu Feb 17 14:39:05 UTC 2011
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
---
recipes/hostap/hostap-daemon-0.7.3/defconfig | 1 +
recipes/hostap/hostap-daemon_0.7.3.bb | 7 ++++---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/recipes/hostap/hostap-daemon-0.7.3/defconfig b/recipes/hostap/hostap-daemon-0.7.3/defconfig
index 0bf2478..1f3c6f4 100644
--- a/recipes/hostap/hostap-daemon-0.7.3/defconfig
+++ b/recipes/hostap/hostap-daemon-0.7.3/defconfig
@@ -24,6 +24,7 @@ CONFIG_DRIVER_PRISM54=y
# Driver interface for drivers using the nl80211 kernel interface
CONFIG_DRIVER_NL80211=y
+CONFIG_LIBNL20=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/recipes/hostap/hostap-daemon_0.7.3.bb b/recipes/hostap/hostap-daemon_0.7.3.bb
index 585486c..2dfec35 100644
--- a/recipes/hostap/hostap-daemon_0.7.3.bb
+++ b/recipes/hostap/hostap-daemon_0.7.3.bb
@@ -3,8 +3,8 @@ HOMEPAGE = "http://hostap.epitest.fi"
SECTION = "kernel/userland"
PRIORITY = "optional"
LICENSE = "GPL"
-DEPENDS = "libnl openssl"
-PR = "r0"
+DEPENDS = "libnl2 openssl"
+PR = "r1"
DEFAULT_PREFERENCE = "-1"
@@ -21,6 +21,7 @@ INITSCRIPT_NAME=hostapd
do_configure() {
install -m 0644 ${WORKDIR}/defconfig ${S}/.config
+ echo 'CFLAGS += "-I${STAGING_INCDIR}/libnl2"' >> ${S}/.config
}
do_compile() {
@@ -35,4 +36,4 @@ do_install() {
install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/hostapd
}
-CONFFILES_${PN} += "${sysconfdir}/hostapd.conf"
\ No newline at end of file
+CONFFILES_${PN} += "${sysconfdir}/hostapd.conf"
--
1.7.0.4
More information about the Openembedded-devel
mailing list