summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/kernel/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/Makefile b/package/kernel/Makefile
index 580bf1937..f3a9a287e 100644
--- a/package/kernel/Makefile
+++ b/package/kernel/Makefile
@@ -59,7 +59,7 @@ define KernelPackage
$(eval $(call KernelPackage/$(1)))
$(eval $(call KernelPackage/$(1)/$(KERNEL)))
- ifneq ($(KCONFIG),m)
+ ifneq ($(findstring m,$(KCONFIG)),m)
CONFIG_PACKAGE_kmod-$(1):=
endif