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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30542
3c298f89-4303-0410-b956-
a3cf2f4a3e73
CONFIG_CRYPTO_ALGAPI \
$(foreach mod,$(CRYPTO_MODULES),$(call crypto_confvar,$(mod)))
FILES:=$(foreach mod,$(CRYPTO_MODULES),$(call crypto_file,$(mod)))
CONFIG_CRYPTO_ALGAPI \
$(foreach mod,$(CRYPTO_MODULES),$(call crypto_confvar,$(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
$(eval $(call KernelPackage,crypto-core))
endef
$(eval $(call KernelPackage,crypto-core))
TITLE:=CryptoAPI hash support
KCONFIG:=CONFIG_CRYPTO_HASH2
FILES:=$(LINUX_DIR)/crypto/crypto_hash.ko
TITLE:=CryptoAPI hash support
KCONFIG:=CONFIG_CRYPTO_HASH2
FILES:=$(LINUX_DIR)/crypto/crypto_hash.ko
- AUTOLOAD:=$(call AutoLoad,02,crypto_hash)
+ AUTOLOAD:=$(call AutoLoad,02,crypto_hash,1)
$(call AddDepends/crypto)
endef
$(eval $(call KernelPackage,crypto-hash))
$(call AddDepends/crypto)
endef
$(eval $(call KernelPackage,crypto-hash))