Browse Source

nl80211: Allow libnl to be replaced with libnl-tiny

CONFIG_LIBNL_TINY=y can be used to select libnl-tiny instead of
libnl.
Jouni Malinen 14 years ago
parent
commit
6e1468839c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/drivers/drivers.mak

+ 4 - 0
src/drivers/drivers.mak

@@ -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