[openwrt/openwrt] build: filter out kmod-ipt-offload from the default selection on targets that do not support it
LEDE Commits
lede-commits at lists.infradead.org
Fri Mar 30 00:34:34 PDT 2018
nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/fd588dbf6becc9be2fb34f132f132b3e9a985bfb
commit fd588dbf6becc9be2fb34f132f132b3e9a985bfb
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Thu Mar 29 16:12:43 2018 +0200
build: filter out kmod-ipt-offload from the default selection on targets that do not support it
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
include/target.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/target.mk b/include/target.mk
index d4950e5..8d5ae1e 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -51,6 +51,10 @@ else
endif
endif
+ifneq ($(filter 3.18 4.4 4.9,$(KERNEL_PATCHVER)),)
+ DEFAULT_PACKAGES.router:=$(filter-out kmod-ipt-offload,$(DEFAULT_PACKAGES.router))
+endif
+
# Add device specific packages (here below to allow device type set from subtarget)
DEFAULT_PACKAGES += $(DEFAULT_PACKAGES.$(DEVICE_TYPE))
More information about the lede-commits
mailing list