From: Jo-Philipp Wich Date: Sat, 8 Feb 2020 10:34:41 +0000 (+0100) Subject: hostapd: remove erroneous $(space) redefinition X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=05062462f12952dba47c2c4529a179576e4a4fd9;p=openwrt%2Fstaging%2Fxback.git hostapd: remove erroneous $(space) redefinition The $(space) definition in the hostapd Makefile ceased to work with GNU Make 4.3 and later, leading to syntax errors in the generated Kconfig files. Drop the superfluous redefinition and reuse the working $(space) declaration from rules.mk to fix this issue. Fixes: GH#2713 Ref: https://github.com/openwrt/openwrt/pull/2713#issuecomment-583722469 Reported-by: Karel Kočí Suggested-by: Jonas Gorski Tested-by: Shaleen Jain Signed-off-by: Jo-Philipp Wich (backported from commit 766e778226f5d4c6ec49ce22b101a5dbd4306644) --- diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile index 9712e7247a..9d9f4d451c 100644 --- a/package/network/services/hostapd/Makefile +++ b/package/network/services/hostapd/Makefile @@ -88,9 +88,6 @@ DRIVER_MAKEOPTS= \ CONFIG_IEEE80211AC=$(HOSTAPD_IEEE80211AC) \ CONFIG_DRIVER_WEXT=$(CONFIG_DRIVER_WEXT_SUPPORT) \ -space := -space += - ifeq ($(LOCAL_VARIANT),full) DRIVER_MAKEOPTS += CONFIG_IEEE80211W=$(CONFIG_DRIVER_11W_SUPPORT) endif