Skip to content

Commit

Permalink
kernel: fix autoloading arch-specific modules
Browse files Browse the repository at this point in the history
Fixes FS#745

Signed-off-by: Yousong Zhou <[email protected]>
  • Loading branch information
yousong committed May 25, 2017
1 parent e250aca commit a76cbc0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package/kernel/linux/modules/crypto.mk
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ endef

define KernelPackage/crypto-md5/octeon
FILES+=$(LINUX_DIR)/arch/mips/cavium-octeon/crypto/octeon-md5.ko
AUTOLOAD:=$(call AutoLoad,09,octeon-md5)
AUTOLOAD+=$(call AutoLoad,09,octeon-md5)
endef

$(eval $(call KernelPackage,crypto-md5))
Expand Down Expand Up @@ -480,12 +480,12 @@ endef

define KernelPackage/crypto-sha1/octeon
FILES+=$(LINUX_DIR)/arch/mips/cavium-octeon/crypto/octeon-sha1.ko
AUTOLOAD:=$(call AutoLoad,09,octeon-sha1)
AUTOLOAD+=$(call AutoLoad,09,octeon-sha1)
endef

define KernelPackage/crypto-sha1/x86/64
FILES+=$(LINUX_DIR)/arch/x86/crypto/sha1-ssse3.ko
AUTOLOAD:=$(call AutoLoad,09,sha1-ssse3)
AUTOLOAD+=$(call AutoLoad,09,sha1-ssse3)
endef

$(eval $(call KernelPackage,crypto-sha1))
Expand All @@ -505,12 +505,12 @@ endef

define KernelPackage/crypto-sha256/octeon
FILES+=$(LINUX_DIR)/arch/mips/cavium-octeon/crypto/octeon-sha256.ko
AUTOLOAD:=$(call AutoLoad,09,octeon-sha256)
AUTOLOAD+=$(call AutoLoad,09,octeon-sha256)
endef

define KernelPackage/crypto-sha256/x86/64
FILES+=$(LINUX_DIR)/arch/x86/crypto/sha256-ssse3.ko
AUTOLOAD:=$(call AutoLoad,09,sha256-ssse3)
AUTOLOAD+=$(call AutoLoad,09,sha256-ssse3)
endef

$(eval $(call KernelPackage,crypto-sha256))
Expand All @@ -530,12 +530,12 @@ endef

define KernelPackage/crypto-sha512/octeon
FILES+=$(LINUX_DIR)/arch/mips/cavium-octeon/crypto/octeon-sha512.ko
AUTOLOAD:=$(call AutoLoad,09,octeon-sha512)
AUTOLOAD+=$(call AutoLoad,09,octeon-sha512)
endef

define KernelPackage/crypto-sha512/x86/64
FILES+=$(LINUX_DIR)/arch/x86/crypto/sha512-ssse3.ko
AUTOLOAD:=$(call AutoLoad,09,sha512-ssse3)
AUTOLOAD+=$(call AutoLoad,09,sha512-ssse3)
endef

$(eval $(call KernelPackage,crypto-sha512))
Expand Down
2 changes: 1 addition & 1 deletion package/kernel/linux/modules/sound.mk
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ define KernelPackage/sound-core/uml
FILES:= \
$(LINUX_DIR)/sound/soundcore.ko \
$(LINUX_DIR)/arch/um/drivers/hostaudio.ko
AUTOLOAD:=$(call AutoLoad,30,soundcore hostaudio)
AUTOLOAD+=$(call AutoLoad,30,soundcore hostaudio)
endef

define KernelPackage/sound-core/description
Expand Down
2 changes: 1 addition & 1 deletion package/kernel/linux/modules/video.mk
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ endef

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

$(eval $(call KernelPackage,fb))
Expand Down

0 comments on commit a76cbc0

Please sign in to comment.