mirror of https://github.com/hak5/openwrt-owl.git
kernel/crypto: fix crypto breakage (patch by Jose Vasconcellos)
SVN-Revision: 13869owl
parent
e4abf0e7d9
commit
9be7e1723f
|
@ -42,8 +42,8 @@ CRYPTO_MODULES = \
|
||||||
DEFLATE=deflate
|
DEFLATE=deflate
|
||||||
|
|
||||||
crypto_confvar=CONFIG_CRYPTO_$(word 1,$(subst =,$(space),$(1)))
|
crypto_confvar=CONFIG_CRYPTO_$(word 1,$(subst =,$(space),$(1)))
|
||||||
crypto_file=$(if $($(call crypto_confvar,$(1))),$(LINUX_DIR)/crypto/$(word 2,$(subst =,$(space),$(1))).$(LINUX_KMOD_SUFFIX))
|
crypto_file=$(if $(findstring y,$($(call crypto_confvar,$(1)))),,$(LINUX_DIR)/crypto/$(word 2,$(subst =,$(space),$(1))).$(LINUX_KMOD_SUFFIX))
|
||||||
crypto_name=$(if $($(call crypto_confvar,$(1))),$(word 2,$(subst =,$(space),$(1))))
|
crypto_name=$(if $(findstring y,$($(call crypto_confvar,$(1)))),,$(word 2,$(subst =,$(space),$(1))))
|
||||||
|
|
||||||
# XXX: added CONFIG_CRYPTO_HMAC to KCONFIG so that CONFIG_CRYPTO_HASH is
|
# XXX: added CONFIG_CRYPTO_HMAC to KCONFIG so that CONFIG_CRYPTO_HASH is
|
||||||
# always set, even if no hash modules are selected
|
# always set, even if no hash modules are selected
|
||||||
|
@ -52,7 +52,7 @@ define KernelPackage/crypto-core
|
||||||
TITLE:=Core CryptoAPI modules
|
TITLE:=Core CryptoAPI modules
|
||||||
KCONFIG:=CONFIG_CRYPTO=y $(foreach mod,$(CRYPTO_MODULES),$(call crypto_confvar,$(mod)))
|
KCONFIG:=CONFIG_CRYPTO=y $(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_file,$(mod))))
|
AUTOLOAD:=$(call AutoLoad,01,$(foreach mod,$(CRYPTO_MODULES),$(call crypto_name,$(mod))))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/crypto-core/2.4
|
define KernelPackage/crypto-core/2.4
|
||||||
|
|
Loading…
Reference in New Issue