mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-27 15:33:28 +08:00
package/wireless_tools: make 'iwconfig' tool optional
Allow disabling iwconfig for targets that only want the library. Signed-off-by: Neal J. Buchmeyer <neal.buchmeyer@collins.com> Signed-off-by: Brandon Maier <brandon.maier@collins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
a001ca657b
commit
dec855e19c
@ -1,5 +1,7 @@
|
||||
config BR2_PACKAGE_WIRELESS_TOOLS
|
||||
bool "wireless tools"
|
||||
select BR2_PACKAGE_WIRELESS_TOOLS_IWCONFIG if \
|
||||
!BR2_PACKAGE_WIRELESS_TOOLS_LIB
|
||||
help
|
||||
A collection of tools to configure wireless lan cards.
|
||||
|
||||
@ -7,6 +9,13 @@ config BR2_PACKAGE_WIRELESS_TOOLS
|
||||
|
||||
if BR2_PACKAGE_WIRELESS_TOOLS
|
||||
|
||||
config BR2_PACKAGE_WIRELESS_TOOLS_IWCONFIG
|
||||
bool "Install tools"
|
||||
default y
|
||||
help
|
||||
Build and install the iwconfig, iwlist, iwspy, iwpriv, and
|
||||
iwgetid tools.
|
||||
|
||||
config BR2_PACKAGE_WIRELESS_TOOLS_LIB
|
||||
bool "Install shared library"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
|
@ -14,8 +14,10 @@ WIRELESS_TOOLS_CPE_ID_VERSION = $(WIRELESS_TOOLS_VERSION_MAJOR)
|
||||
WIRELESS_TOOLS_CPE_ID_UPDATE = pre9
|
||||
WIRELESS_TOOLS_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WIRELESS_TOOLS_IWCONFIG),y)
|
||||
WIRELESS_TOOLS_BUILD_TARGETS = iwmulticall
|
||||
WIRELESS_TOOLS_INSTALL_TARGETS = install-iwmulticall
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WIRELESS_TOOLS_LIB),y)
|
||||
WIRELESS_TOOLS_BUILD_TARGETS += libiw.so.$(WIRELESS_TOOLS_VERSION_MAJOR)
|
||||
|
Loading…
Reference in New Issue
Block a user