]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Allow libnl to be replaced with libnl-tiny
authorJouni Malinen <jouni.malinen@atheros.com>
Thu, 4 Nov 2010 15:14:58 +0000 (17:14 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 4 Nov 2010 15:14:58 +0000 (17:14 +0200)
CONFIG_LIBNL_TINY=y can be used to select libnl-tiny instead of
libnl.

src/drivers/drivers.mak

index c0c2c3358dade80488a4e42c8ad82ad1c636cc8c..4a98f05826682d31f47fd5196119214b16a157fd 100644 (file)
@@ -44,7 +44,11 @@ NEED_AP_MLME=y
 NEED_NETLINK=y
 NEED_LINUX_IOCTL=y
 NEED_RFKILL=y
+ifdef CONFIG_LIBNL_TINY
+DRV_LIBS += -lnl-tiny
+else
 DRV_LIBS += -lnl
+endif
 
 ifdef CONFIG_LIBNL20
 DRV_LIBS += -lnl-genl