diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index 8d630c0335..5f9fd5df8d 100644 --- a/package/kernel/linux/modules/crypto.mk +++ b/package/kernel/linux/modules/crypto.mk @@ -841,6 +841,7 @@ define KernelPackage/crypto-wq AUTOLOAD:=$(call AutoLoad,09,crypto_wq) $(call AddDepends/crypto) endef + $(eval $(call KernelPackage,crypto-wq)) @@ -855,3 +856,14 @@ endef $(eval $(call KernelPackage,crypto-xts)) + +define KernelPackage/crypto-rk3328 + TITLE:=Rockchip RK3328 CryptoAPI module + DEPENDS:=@TARGET_rockchip +kmod-crypto-des +kmod-crypto-md5 +kmod-crypto-sha1 +kmod-crypto-sha256 + KCONFIG:=CONFIG_CRYPTO_DEV_ROCKCHIP + FILES:=$(LINUX_DIR)/drivers/crypto/rockchip/rk_crypto.ko + AUTOLOAD:=$(call AutoLoad,09,rk_crypto) + $(call AddDepends/crypto) +endef + +$(eval $(call KernelPackage,crypto-rk3328))