diff --git a/patches/openwrt/to-upstream/0027-hostapd-fix-space-variable-and-configuration-that-wa.patch b/patches/openwrt/to-upstream/0027-hostapd-fix-space-variable-and-configuration-that-wa.patch new file mode 100644 index 0000000000000000000000000000000000000000..eaa2033d2f9eee7a7ea2d39d5338bda959c3f8ec --- /dev/null +++ b/patches/openwrt/to-upstream/0027-hostapd-fix-space-variable-and-configuration-that-wa.patch @@ -0,0 +1,35 @@ +From 039f2bcc6551801c627066b33daba8060666c2dc Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <cynerd@email.cz> +Date: Fri, 24 Jan 2020 13:48:40 +0100 +Subject: [PATCH] hostapd: fix space variable and configuration that way +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +The hack used to get space variable probably no longer works with newest +make. This replaces it with version suggested in GNU make documentation. +http://www.gnu.org/software/make/manual/make.html#Flavors + +Signed-off-by: Karel KoÄŤĂ <cynerd@email.cz> +--- + package/network/services/hostapd/Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile +index 2642a263dc..c267adb847 100644 +--- a/package/network/services/hostapd/Makefile ++++ b/package/network/services/hostapd/Makefile +@@ -87,8 +87,8 @@ DRIVER_MAKEOPTS= \ + CONFIG_IEEE80211AC=$(HOSTAPD_IEEE80211AC) \ + CONFIG_DRIVER_WEXT=$(CONFIG_DRIVER_WEXT_SUPPORT) \ + +-space := +-space += ++nullstring := ++space := $(nullstring) # end of the line + + ifneq ($(LOCAL_VARIANT),mini) + DRIVER_MAKEOPTS += CONFIG_IEEE80211W=$(CONFIG_DRIVER_11W_SUPPORT) +-- +2.25.0 +