diff options
Diffstat (limited to 'package/wpa_supplicant/wpa_supplicant.mk')
-rw-r--r-- | package/wpa_supplicant/wpa_supplicant.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk index b2e7be3b3..baa739bfd 100644 --- a/package/wpa_supplicant/wpa_supplicant.mk +++ b/package/wpa_supplicant/wpa_supplicant.mk @@ -25,6 +25,16 @@ define WPA_SUPPLICANT_EAP_CONFIG endef endif +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT),y) +define WPA_SUPPLICANT_AP_CONFIG + echo "CONFIG_AP=y" >>$(WPA_SUPPLICANT_CONFIG) +endef +else +define WPA_SUPPLICANT_AP_CONFIG + $(SED) "s/^CONFIG_AP=y//" $(WPA_SUPPLICANT_CONFIG) +endef +endif + define WPA_SUPPLICANT_CRYPTO_CONFIG echo "CONFIG_CRYPTO=internal" >>$(WPA_SUPPLICANT_CONFIG) echo "CONFIG_INTERNAL_LIBTOMMATH=y" >>$(WPA_SUPPLICANT_CONFIG) @@ -69,6 +79,7 @@ define WPA_SUPPLICANT_CONFIGURE_CMDS $(WPA_SUPPLICANT_EAP_CONFIG) $(WPA_SUPPLICANT_LIBNL_CONFIG) $(WPA_SUPPLICANT_DBUS_CONFIG) + $(WPA_SUPPLICANT_AP_CONFIG) endef define WPA_SUPPLICANT_REMOVE_CLI |