nl80211: Fix libnl-tiny build with CONFIG_LIBNL20=y
libnl-tiny does not use the separate nl-genl library. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
31afdd2274
commit
87faf1f22c
2 changed files with 6 additions and 2 deletions
|
@ -63,7 +63,9 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_LIBNL20
|
ifdef CONFIG_LIBNL20
|
||||||
DRV_LIBS += -lnl-genl
|
ifndef CONFIG_LIBNL_TINY
|
||||||
|
DRV_LIBS += -lnl-genl
|
||||||
|
endif
|
||||||
DRV_CFLAGS += -DCONFIG_LIBNL20
|
DRV_CFLAGS += -DCONFIG_LIBNL20
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -51,7 +51,9 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_LIBNL20
|
ifdef CONFIG_LIBNL20
|
||||||
DRV_LIBS += -lnl-genl
|
ifndef CONFIG_LIBNL_TINY
|
||||||
|
DRV_LIBS += -lnl-genl
|
||||||
|
endif
|
||||||
DRV_CFLAGS += -DCONFIG_LIBNL20
|
DRV_CFLAGS += -DCONFIG_LIBNL20
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue