diff options
author | Felix Fietkau <nbd@nbd.name> | 2022-10-24 20:43:14 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2022-10-24 20:49:34 +0200 |
commit | e4b9538ddbcc7c98119249f5b862bbb3f3c88cb5 (patch) | |
tree | f21776029947079474287352d23466aeeee5884a /package | |
parent | 24bf94ecb728d47d45ec9a419b92bb8440eb64ce (diff) | |
download | upstream-e4b9538ddbcc7c98119249f5b862bbb3f3c88cb5.tar.gz upstream-e4b9538ddbcc7c98119249f5b862bbb3f3c88cb5.tar.bz2 upstream-e4b9538ddbcc7c98119249f5b862bbb3f3c88cb5.zip |
mac80211: use KERNEL_MAKEOPTS instead of KERNEL_MAKE_FLAGS
Fixes issues with disabling stack validation on non-linux systems
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/mac80211/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index 6a3c126e6d..91dad18254 100644 --- a/package/kernel/mac80211/Makefile +++ b/package/kernel/mac80211/Makefile @@ -426,8 +426,8 @@ ifeq ($(BUILD_VARIANT),smallbuffers) C_DEFINES+= -DCONFIG_ATH10K_SMALLBUFFERS endif -MAKE_OPTS:= -C "$(PKG_BUILD_DIR)" \ - $(KERNEL_MAKE_FLAGS) \ +MAKE_OPTS:= \ + $(subst -C $(LINUX_DIR),-C "$(PKG_BUILD_DIR)",$(KERNEL_MAKEOPTS)) \ EXTRA_CFLAGS="-I$(PKG_BUILD_DIR)/include $(IREMAP_CFLAGS) $(C_DEFINES)" \ KLIB_BUILD="$(LINUX_DIR)" \ MODPROBE=true \ |