package/wpa_supplicant: add option to build deprecated WEP support

Signed-off-by: Brandon Lumbra <brandon.lumbra@sense.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Brandon Lumbra 2025-04-04 10:55:45 -04:00 committed by Thomas Petazzoni
commit 7acb67fc2b
2 changed files with 11 additions and 0 deletions

View file

@ -183,4 +183,11 @@ config BR2_PACKAGE_WPA_SUPPLICANT_SMARTCARD
Enable the smart card support. Required for OpenSSL engines
to work using PKCS11 and 802.1x
config BR2_PACKAGE_WPA_SUPPLICANT_WEP
bool "Enable WEP support (deprecated)"
help
Enable support for WEP. WEP support is deprecated due to
security concerns, but some systems may want to support WEP
networks.
endif

View file

@ -200,6 +200,10 @@ define WPA_SUPPLICANT_ENABLE_CTRL_IFACE
endef
endif
ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WEP),y)
WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_WEP
endif
ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WPA_CLIENT_SO),y)
WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_BUILD_WPA_CLIENT_SO
define WPA_SUPPLICANT_INSTALL_WPA_CLIENT_SO