diff --git a/openwrt/package/kernel/Makefile b/openwrt/package/kernel/Makefile index 580bf19371..f3a9a287ed 100644 --- a/openwrt/package/kernel/Makefile +++ b/openwrt/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