include: apply version filter on AutoLoad and AutoProbe arguments
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44228
This commit is contained in:
parent
ab26904c79
commit
f942a9b82a
|
@ -88,7 +88,7 @@ define ModuleAutoLoad
|
||||||
mods="$$$$$$$$1"; \
|
mods="$$$$$$$$1"; \
|
||||||
boot="$$$$$$$$2"; \
|
boot="$$$$$$$$2"; \
|
||||||
shift 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; \
|
mkdir -p $(2)/etc/modules.d; \
|
||||||
echo "$$$$$$$$mod" >> $(2)/etc/modules.d/$(1); \
|
echo "$$$$$$$$mod" >> $(2)/etc/modules.d/$(1); \
|
||||||
done; \
|
done; \
|
||||||
|
@ -105,7 +105,7 @@ define ModuleAutoLoad
|
||||||
mods="$$$$$$$$2"; \
|
mods="$$$$$$$$2"; \
|
||||||
boot="$$$$$$$$3"; \
|
boot="$$$$$$$$3"; \
|
||||||
shift 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; \
|
mkdir -p $(2)/etc/modules.d; \
|
||||||
echo "$$$$$$$$mod" >> $(2)/etc/modules.d/$$$$$$$$priority-$(1); \
|
echo "$$$$$$$$mod" >> $(2)/etc/modules.d/$$$$$$$$priority-$(1); \
|
||||||
done; \
|
done; \
|
||||||
|
|
Loading…
Reference in New Issue