[Buildroot] [git commit] package/xtables-addons: require kernel modules from Kconfig
Peter Korsgaard
peter at korsgaard.com
Tue Dec 29 22:53:04 UTC 2015
commit: http://git.buildroot.net/buildroot/commit/?id=5203541aa62c1d77d1e85662961bd7ab313813bc
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/xtables-addons/Config.in | 1 +
package/xtables-addons/xtables-addons.mk | 6 ------
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/package/xtables-addons/Config.in b/package/xtables-addons/Config.in
index a687618..4538519 100644
--- a/package/xtables-addons/Config.in
+++ b/package/xtables-addons/Config.in
@@ -10,6 +10,7 @@ config BR2_PACKAGE_XTABLES_ADDONS
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_STATIC_LIBS # extensions are .so
select BR2_PACKAGE_IPTABLES
+ select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra
help
Xtables-addons is the successor to patch-o-matic(-ng).
Likewise, it contains extensions that were not, or are not yet,
diff --git a/package/xtables-addons/xtables-addons.mk b/package/xtables-addons/xtables-addons.mk
index 66e7386..b4e5992 100644
--- a/package/xtables-addons/xtables-addons.mk
+++ b/package/xtables-addons/xtables-addons.mk
@@ -16,12 +16,6 @@ XTABLES_ADDONS_CONF_OPTS = \
--with-xtables="$(STAGING_DIR)/usr" \
--with-xtlibdir="/usr/lib/xtables"
-# We're building a kernel module without using the kernel-module infra,
-# so we need to tell we want module support in the kernel
-ifeq ($(BR2_PACKAGE_XTABLES_ADDONS),y)
-LINUX_NEEDS_MODULES = y
-endif
-
# geoip helpers need perl with modules and unzip so disable
define XTABLES_DISABLE_GEOIP_HELPERS
$(SED) 's/ geoip//' $(@D)/Makefile.in
More information about the buildroot
mailing list