Commit 5203541a authored by Yann E. MORIN's avatar Yann E. MORIN Committed by Peter Korsgaard
Browse files

package/xtables-addons: require kernel modules from Kconfig



Signed-off-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 44bf3e1a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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,
+0 −6
Original line number Diff line number Diff line
@@ -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