kernel: fix autoloading arch-specific modules

Fixes FS#745

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
Yousong Zhou 2017-05-25 14:41:34 +08:00
parent e250acab26
commit a76cbc0d7e
3 changed files with 9 additions and 9 deletions

View file

@ -448,7 +448,7 @@ endef
define KernelPackage/crypto-md5/octeon define KernelPackage/crypto-md5/octeon
FILES+=$(LINUX_DIR)/arch/mips/cavium-octeon/crypto/octeon-md5.ko FILES+=$(LINUX_DIR)/arch/mips/cavium-octeon/crypto/octeon-md5.ko
AUTOLOAD:=$(call AutoLoad,09,octeon-md5) AUTOLOAD+=$(call AutoLoad,09,octeon-md5)
endef endef
$(eval $(call KernelPackage,crypto-md5)) $(eval $(call KernelPackage,crypto-md5))
@ -480,12 +480,12 @@ endef
define KernelPackage/crypto-sha1/octeon define KernelPackage/crypto-sha1/octeon
FILES+=$(LINUX_DIR)/arch/mips/cavium-octeon/crypto/octeon-sha1.ko FILES+=$(LINUX_DIR)/arch/mips/cavium-octeon/crypto/octeon-sha1.ko
AUTOLOAD:=$(call AutoLoad,09,octeon-sha1) AUTOLOAD+=$(call AutoLoad,09,octeon-sha1)
endef endef
define KernelPackage/crypto-sha1/x86/64 define KernelPackage/crypto-sha1/x86/64
FILES+=$(LINUX_DIR)/arch/x86/crypto/sha1-ssse3.ko FILES+=$(LINUX_DIR)/arch/x86/crypto/sha1-ssse3.ko
AUTOLOAD:=$(call AutoLoad,09,sha1-ssse3) AUTOLOAD+=$(call AutoLoad,09,sha1-ssse3)
endef endef
$(eval $(call KernelPackage,crypto-sha1)) $(eval $(call KernelPackage,crypto-sha1))
@ -505,12 +505,12 @@ endef
define KernelPackage/crypto-sha256/octeon define KernelPackage/crypto-sha256/octeon
FILES+=$(LINUX_DIR)/arch/mips/cavium-octeon/crypto/octeon-sha256.ko FILES+=$(LINUX_DIR)/arch/mips/cavium-octeon/crypto/octeon-sha256.ko
AUTOLOAD:=$(call AutoLoad,09,octeon-sha256) AUTOLOAD+=$(call AutoLoad,09,octeon-sha256)
endef endef
define KernelPackage/crypto-sha256/x86/64 define KernelPackage/crypto-sha256/x86/64
FILES+=$(LINUX_DIR)/arch/x86/crypto/sha256-ssse3.ko FILES+=$(LINUX_DIR)/arch/x86/crypto/sha256-ssse3.ko
AUTOLOAD:=$(call AutoLoad,09,sha256-ssse3) AUTOLOAD+=$(call AutoLoad,09,sha256-ssse3)
endef endef
$(eval $(call KernelPackage,crypto-sha256)) $(eval $(call KernelPackage,crypto-sha256))
@ -530,12 +530,12 @@ endef
define KernelPackage/crypto-sha512/octeon define KernelPackage/crypto-sha512/octeon
FILES+=$(LINUX_DIR)/arch/mips/cavium-octeon/crypto/octeon-sha512.ko FILES+=$(LINUX_DIR)/arch/mips/cavium-octeon/crypto/octeon-sha512.ko
AUTOLOAD:=$(call AutoLoad,09,octeon-sha512) AUTOLOAD+=$(call AutoLoad,09,octeon-sha512)
endef endef
define KernelPackage/crypto-sha512/x86/64 define KernelPackage/crypto-sha512/x86/64
FILES+=$(LINUX_DIR)/arch/x86/crypto/sha512-ssse3.ko FILES+=$(LINUX_DIR)/arch/x86/crypto/sha512-ssse3.ko
AUTOLOAD:=$(call AutoLoad,09,sha512-ssse3) AUTOLOAD+=$(call AutoLoad,09,sha512-ssse3)
endef endef
$(eval $(call KernelPackage,crypto-sha512)) $(eval $(call KernelPackage,crypto-sha512))

View file

@ -67,7 +67,7 @@ define KernelPackage/sound-core/uml
FILES:= \ FILES:= \
$(LINUX_DIR)/sound/soundcore.ko \ $(LINUX_DIR)/sound/soundcore.ko \
$(LINUX_DIR)/arch/um/drivers/hostaudio.ko $(LINUX_DIR)/arch/um/drivers/hostaudio.ko
AUTOLOAD:=$(call AutoLoad,30,soundcore hostaudio) AUTOLOAD+=$(call AutoLoad,30,soundcore hostaudio)
endef endef
define KernelPackage/sound-core/description define KernelPackage/sound-core/description

View file

@ -72,7 +72,7 @@ endef
define KernelPackage/fb/x86 define KernelPackage/fb/x86
FILES+=$(LINUX_DIR)/arch/x86/video/fbdev.ko FILES+=$(LINUX_DIR)/arch/x86/video/fbdev.ko
AUTOLOAD:=$(call AutoLoad,06,fbdev fb) AUTOLOAD+=$(call AutoLoad,06,fbdev fb)
endef endef
$(eval $(call KernelPackage,fb)) $(eval $(call KernelPackage,fb))