wpa_supplicant: explicitly disable libnl by default
PATCH 1/1 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 <[email protected]>
--- package/wpa_supplicant/wpa_supplicant.mk | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
package/wpa_supplicant/wpa_supplicant.mk +4 -1
@@ -15,9 +15,12 @@ WPA_SUPPLICANT_LDFLAGS = $(TARGET_LDFLAGS) ifeq ($(BR2_PACKAGE_LIBNL),y) WPA_SUPPLICANT_DEPENDENCIES += libnl define WPA_SUPPLICANT_LIBNL_CONFIG - $(SED) "s/^#CONFIG_DRIVER_NL80211/CONFIG_DRIVER_NL80211/" $(WPA_SUPPLICANT_CONFIG) echo "CONFIG_LIBNL32=y" >>$(WPA_SUPPLICANT_CONFIG) endef +else +define WPA_SUPPLICANT_LIBNL_CONFIG + $(SED) "s/^CONFIG_DRIVER_NL80211/#CONFIG_DRIVER_NL80211/" $(WPA_SUPPLICANT_CONFIG) +endef endif ifneq ($(BR2_PACKAGE_WPA_SUPPLICANT_EAP),y)
Signature · 1 line
1.7.3.4
PATCH 1/1 wpa_supplicant: explicitly disable libnl by default
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
Gustavo> libnl support is enabled by default since version 1.0, so disable it Gustavo> to avoid build breakage when there's no libnl.
Committed to next, thanks.
Signature · 1 line
Bye, Peter Korsgaard