[oe-commits] Denis 'GNUtoo' Carikli : hostapd 0.7.3: convert to libnl2

git version control git at git.openembedded.org
Thu Feb 17 15:47:55 UTC 2011


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 6fa8906e6ef52e49b917b9ace9b3705fa830bb16
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=6fa8906e6ef52e49b917b9ace9b3705fa830bb16

Author: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
Date:   Thu Feb 17 12:24:43 2011 +0100

hostapd 0.7.3: convert to libnl2

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
Acked-by: Stefan Schmidt <stefan at datenfreihafen.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"





More information about the Openembedded-commits mailing list