add missing autoload shortcut to crypto modules for btrfs

Currently the btrfs module (and other fs modules) is loaded before other modules to provide early extroot compatibility. This will fail for btrfs however, because the dependencies crypto-core and crypto-hash are missing. This patch makes them available for early loading too.

Signed-off-by: Jan Willies <jan@willies.info>

SVN-Revision: 30542
owl
John Crispin 2012-02-14 20:11:28 +00:00
parent 23b2bd9494
commit 6c5d3e0844
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ define KernelPackage/crypto-core
CONFIG_CRYPTO_ALGAPI \ CONFIG_CRYPTO_ALGAPI \
$(foreach mod,$(CRYPTO_MODULES),$(call crypto_confvar,$(mod))) $(foreach mod,$(CRYPTO_MODULES),$(call crypto_confvar,$(mod)))
FILES:=$(foreach mod,$(CRYPTO_MODULES),$(call crypto_file,$(mod))) FILES:=$(foreach mod,$(CRYPTO_MODULES),$(call crypto_file,$(mod)))
AUTOLOAD:=$(call AutoLoad,01,$(foreach mod,$(CRYPTO_MODULES),$(call crypto_name,$(mod)))) AUTOLOAD:=$(call AutoLoad,01,$(foreach mod,$(CRYPTO_MODULES),$(call crypto_name,$(mod))),1)
endef endef
$(eval $(call KernelPackage,crypto-core)) $(eval $(call KernelPackage,crypto-core))
@ -43,7 +43,7 @@ define KernelPackage/crypto-hash
TITLE:=CryptoAPI hash support TITLE:=CryptoAPI hash support
KCONFIG:=CONFIG_CRYPTO_HASH2 KCONFIG:=CONFIG_CRYPTO_HASH2
FILES:=$(LINUX_DIR)/crypto/crypto_hash.ko FILES:=$(LINUX_DIR)/crypto/crypto_hash.ko
AUTOLOAD:=$(call AutoLoad,02,crypto_hash) AUTOLOAD:=$(call AutoLoad,02,crypto_hash,1)
$(call AddDepends/crypto) $(call AddDepends/crypto)
endef endef
$(eval $(call KernelPackage,crypto-hash)) $(eval $(call KernelPackage,crypto-hash))