From f942a9b82addd890b3ace62982e70b7b76ea92d9 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 31 Jan 2015 13:55:44 +0000 Subject: include: apply version filter on AutoLoad and AutoProbe arguments Signed-off-by: Jo-Philipp Wich SVN-Revision: 44228 --- include/kernel.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/kernel.mk b/include/kernel.mk index 9fb4896..e21d53a 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; \ -- cgit v1.1