diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-31 13:55:44 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-31 13:55:44 +0000 |
commit | 6e4e42727b34f890c9f37198b3ca1f32d6881466 (patch) | |
tree | cdc0f3d8e4c6658f495626bc1da10a1297dd71d1 /include | |
parent | 823bc4caacfb8e6dc0b4ede20ef88953064e5a60 (diff) | |
download | upstream-6e4e42727b34f890c9f37198b3ca1f32d6881466.tar.gz upstream-6e4e42727b34f890c9f37198b3ca1f32d6881466.tar.bz2 upstream-6e4e42727b34f890c9f37198b3ca1f32d6881466.zip |
include: apply version filter on AutoLoad and AutoProbe arguments
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44228 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r-- | include/kernel.mk | 4 |
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; \ |