hostapd 0.7.3: convert to libnl2
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Thu, 17 Feb 2011 11:24:43 +0000 (12:24 +0100)
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Thu, 17 Feb 2011 15:41:44 +0000 (16:41 +0100)
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Acked-by: Stefan Schmidt <stefan@datenfreihafen.org>
recipes/hostap/hostap-daemon-0.7.3/defconfig
recipes/hostap/hostap-daemon_0.7.3.bb

index 0bf2478..1f3c6f4 100644 (file)
@@ -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.
index 585486c..2dfec35 100644 (file)
@@ -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"