[openwrt/openwrt] mac80211: use KERNEL_MAKEOPTS instead of KERNEL_MAKE_FLAGS
LEDE Commits
lede-commits at lists.infradead.org
Mon Oct 24 11:50:15 PDT 2022
nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/e4b9538ddbcc7c98119249f5b862bbb3f3c88cb5
commit e4b9538ddbcc7c98119249f5b862bbb3f3c88cb5
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Oct 24 20:43:14 2022 +0200
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 at nbd.name>
---
package/kernel/mac80211/Makefile | 4 ++--
1 file 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 \
More information about the lede-commits
mailing list