From 6cef140d5e0b1209397563853e62156f09f54136 Mon Sep 17 00:00:00 2001 From: Damien RANNOU Date: Wed, 2 Jan 2013 10:21:21 +0000 Subject: [PATCH] HostAP-daemon patch to make it compile with libnl 3.2 (From meta-openembedded rev: ccda63446b88206a4bcbc91d32b6b6148c931055) Signed-off-by: Damien RANNOU Signed-off-by: Martin Jansa Signed-off-by: Patrick Ohly --- .../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-openembedded/meta-oe/recipes-connectivity/hostapd/hostap-daemon-1.0/defconfig b/meta-openembedded/meta-oe/recipes-connectivity/hostapd/hostap-daemon-1.0/defconfig index 1f3c6f4..2789640 100644 --- a/meta-openembedded/meta-oe/recipes-connectivity/hostapd/hostap-daemon-1.0/defconfig +++ b/meta-openembedded/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-openembedded/meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb b/meta-openembedded/meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb index 310e8aa..e62531f 100644 --- a/meta-openembedded/meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb +++ b/meta-openembedded/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 } -- 2.7.4