aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/hostap
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2011-02-17 12:24:43 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2011-02-17 16:41:44 +0100
commit6fa8906e6ef52e49b917b9ace9b3705fa830bb16 (patch)
tree0d0f4c0c481ef649240126c059ffa951f9966207 /recipes/hostap
parent4abe1059641e1e488ac018875e257d7fea92e1e9 (diff)
downloadopenembedded-6fa8906e6ef52e49b917b9ace9b3705fa830bb16.tar.gz
hostapd 0.7.3: convert to libnl2
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> Acked-by: Stefan Schmidt <stefan@datenfreihafen.org>
Diffstat (limited to 'recipes/hostap')
-rw-r--r--recipes/hostap/hostap-daemon-0.7.3/defconfig1
-rw-r--r--recipes/hostap/hostap-daemon_0.7.3.bb7
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 0bf24782d1..1f3c6f408b 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 585486c108..2dfec3537e 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"