Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Acked-by: Stefan Schmidt <stefan@datenfreihafen.org>
# 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.
SECTION = "kernel/userland"
PRIORITY = "optional"
LICENSE = "GPL"
-DEPENDS = "libnl openssl"
-PR = "r0"
+DEPENDS = "libnl2 openssl"
+PR = "r1"
DEFAULT_PREFERENCE = "-1"
do_configure() {
install -m 0644 ${WORKDIR}/defconfig ${S}/.config
+ echo 'CFLAGS += "-I${STAGING_INCDIR}/libnl2"' >> ${S}/.config
}
do_compile() {
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"