mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
wpa_supplicant: add libnl-3 support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
7fa5937ab4
commit
53b4296ab3
@ -26,8 +26,10 @@ cd $PKG_BUILD/$1
|
||||
|
||||
cp $ROOT/$PKG_DIR/config/makefile.config .config
|
||||
|
||||
echo "CFLAGS += $TARGET_CFLAGS -I$SYSROOT_PREFIX/usr/include/libnl3/" >> .config
|
||||
# echo "CONFIG_TLS=gnutls" >> .config
|
||||
# echo "CONFIG_GNUTLS_EXTRA=y" >> .config
|
||||
echo "CONFIG_LIBNL20=y" >> .config
|
||||
[ ! "$DEBUG" = "yes" ] && echo "CONFIG_NO_STDOUT_DEBUG=y" >> .config
|
||||
|
||||
make LIBDIR=/usr/lib BINDIR=/usr/bin
|
||||
|
@ -0,0 +1,16 @@
|
||||
diff -Naur wpa_supplicant-0.7.3/src/drivers/drivers.mak wpa_supplicant-0.7.3.patch/src/drivers/drivers.mak
|
||||
--- wpa_supplicant-0.7.3/src/drivers/drivers.mak 2010-09-07 17:43:39.000000000 +0200
|
||||
+++ wpa_supplicant-0.7.3.patch/src/drivers/drivers.mak 2011-11-30 13:37:22.187964539 +0100
|
||||
@@ -31,10 +31,10 @@
|
||||
NEED_AP_MLME=y
|
||||
NEED_NETLINK=y
|
||||
NEED_LINUX_IOCTL=y
|
||||
-DRV_LIBS += -lnl
|
||||
+DRV_LIBS += -lnl-3
|
||||
|
||||
ifdef CONFIG_LIBNL20
|
||||
-DRV_LIBS += -lnl-genl
|
||||
+DRV_LIBS += -lnl-genl-3
|
||||
DRV_CFLAGS += -DCONFIG_LIBNL20
|
||||
endif
|
||||
endif
|
Loading…
x
Reference in New Issue
Block a user