[Buildroot] [PATCH 2/3] core/pkg-kernel-module: drop now-useles check for CONFIG_MODULES
Yann E. MORIN
yann.morin.1998 at free.fr
Mon Aug 24 12:27:42 UTC 2015
Now that we force-enable support for modules in the kernel config, we
need not check it.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Cc: Peter Korsgaard <jacmet at uclibc.org>
Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Cc: Noé Rubinstein <noe.rubinstein at gmail.com>
Cc: Jan Viktorin <viktorin at rehivetech.com>
---
package/pkg-kernel-module.mk | 4 ----
1 file changed, 4 deletions(-)
diff --git a/package/pkg-kernel-module.mk b/package/pkg-kernel-module.mk
index f6730b8..200c91d 100644
--- a/package/pkg-kernel-module.mk
+++ b/package/pkg-kernel-module.mk
@@ -65,10 +65,6 @@ $(2)_MODULE_SUBDIRS ?= .
# includes and other support files (Booo!)
define $(2)_KERNEL_MODULES_BUILD
@$$(call MESSAGE,"Building kernel module(s)")
- @if ! grep -Fqx 'CONFIG_MODULES=y' $(LINUX_DIR)/.config; then \
- echo "ERROR: Kernel does not support loadable modules"; \
- exit 1; \
- fi
$$(foreach d,$$($(2)_MODULE_SUBDIRS), \
$$(LINUX_MAKE_ENV) $$($$(PKG)_MAKE) \
-C $$(LINUX_DIR) \
--
1.9.1
More information about the buildroot
mailing list