aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-01-31 13:55:44 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-01-31 13:55:44 +0000
commitf942a9b82addd890b3ace62982e70b7b76ea92d9 (patch)
tree3a744e1c4bb00f23be28ef55eac8b10441a198f8
parentab26904c795d9e356c64ed77cdcb58c9c3fcdce5 (diff)
downloadupstream-f942a9b82addd890b3ace62982e70b7b76ea92d9.tar.gz
upstream-f942a9b82addd890b3ace62982e70b7b76ea92d9.tar.bz2
upstream-f942a9b82addd890b3ace62982e70b7b76ea92d9.zip
include: apply version filter on AutoLoad and AutoProbe arguments
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44228
-rw-r--r--include/kernel.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index 9fb4896d0c..e21d53abb1 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -88,7 +88,7 @@ define ModuleAutoLoad
mods="$$$$$$$$1"; \
boot="$$$$$$$$2"; \
shift 2; \
- for mod in $$$$$$$$mods; do \
+ for mod in $$$$$$$$($(SCRIPT_DIR)/metadata.pl version_filter $(KERNEL_PATCHVER) $$$$$$$$mods); do \
mkdir -p $(2)/etc/modules.d; \
echo "$$$$$$$$mod" >> $(2)/etc/modules.d/$(1); \
done; \
@@ -105,7 +105,7 @@ define ModuleAutoLoad
mods="$$$$$$$$2"; \
boot="$$$$$$$$3"; \
shift 3; \
- for mod in $$$$$$$$mods; do \
+ for mod in $$$$$$$$($(SCRIPT_DIR)/metadata.pl version_filter $(KERNEL_PATCHVER) $$$$$$$$mods); do \
mkdir -p $(2)/etc/modules.d; \
echo "$$$$$$$$mod" >> $(2)/etc/modules.d/$$$$$$$$priority-$(1); \
done; \