X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=include%2Fkernel.mk;fp=include%2Fkernel.mk;h=3195090a0a79795bd4f629fae963c251c6c18a4b;hp=19ecf4fa9a849444ef29958fb4011e38d8b7c37f;hb=ba3690c90c9717871ec71b24d22d9da2f283762f;hpb=994428f3950c70bc92e5e6b68e784d8d660ca4ea diff --git a/include/kernel.mk b/include/kernel.mk index 19ecf4fa9a..3195090a0a 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -243,7 +243,7 @@ $(call KernelPackage/$(1)/config) exit 1; \ fi; \ done; - $(call ModuleAutoLoad,$(1),$$(1),$(filter-out 0-,$(word 1,$(AUTOLOAD))-),$(filter-out 0,$(word 2,$(AUTOLOAD))),$(wordlist 3,99,$(AUTOLOAD))) + $(call ModuleAutoLoad,$(1),$$(1),$(filter-out 0-,$(word 1,$(AUTOLOAD))-),$(filter-out 0,$(word 2,$(AUTOLOAD))),$(sort $(wordlist 3,99,$(AUTOLOAD)))) $(call KernelPackage/$(1)/install,$$(1)) endef $(if $(CONFIG_PACKAGE_kmod-$(1)),