mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
wpa_supplicant: explicitly disable libnl by default
libnl support is enabled by default since version 1.0, so disable it to avoid build breakage when there's no libnl. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
beeacca5f8
commit
56901908c6
@ -15,9 +15,12 @@ WPA_SUPPLICANT_LDFLAGS = $(TARGET_LDFLAGS)
|
|||||||
ifeq ($(BR2_PACKAGE_LIBNL),y)
|
ifeq ($(BR2_PACKAGE_LIBNL),y)
|
||||||
WPA_SUPPLICANT_DEPENDENCIES += libnl
|
WPA_SUPPLICANT_DEPENDENCIES += libnl
|
||||||
define WPA_SUPPLICANT_LIBNL_CONFIG
|
define WPA_SUPPLICANT_LIBNL_CONFIG
|
||||||
$(SED) "s/^#CONFIG_DRIVER_NL80211/CONFIG_DRIVER_NL80211/" $(WPA_SUPPLICANT_CONFIG)
|
|
||||||
echo "CONFIG_LIBNL32=y" >>$(WPA_SUPPLICANT_CONFIG)
|
echo "CONFIG_LIBNL32=y" >>$(WPA_SUPPLICANT_CONFIG)
|
||||||
endef
|
endef
|
||||||
|
else
|
||||||
|
define WPA_SUPPLICANT_LIBNL_CONFIG
|
||||||
|
$(SED) "s/^CONFIG_DRIVER_NL80211/#CONFIG_DRIVER_NL80211/" $(WPA_SUPPLICANT_CONFIG)
|
||||||
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(BR2_PACKAGE_WPA_SUPPLICANT_EAP),y)
|
ifneq ($(BR2_PACKAGE_WPA_SUPPLICANT_EAP),y)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user