nl80211: Allow libnl to be replaced with libnl-tiny

CONFIG_LIBNL_TINY=y can be used to select libnl-tiny instead of
libnl.
This commit is contained in:
Jouni Malinen 2010-11-04 17:14:58 +02:00 committed by Jouni Malinen
parent 8dcb61ce5d
commit 6e1468839c

View file

@ -44,7 +44,11 @@ NEED_AP_MLME=y
NEED_NETLINK=y NEED_NETLINK=y
NEED_LINUX_IOCTL=y NEED_LINUX_IOCTL=y
NEED_RFKILL=y NEED_RFKILL=y
ifdef CONFIG_LIBNL_TINY
DRV_LIBS += -lnl-tiny
else
DRV_LIBS += -lnl DRV_LIBS += -lnl
endif
ifdef CONFIG_LIBNL20 ifdef CONFIG_LIBNL20
DRV_LIBS += -lnl-genl DRV_LIBS += -lnl-genl