diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk index 27cbf47132..49c5684b81 100644 --- a/package/kernel/modules/crypto.mk +++ b/package/kernel/modules/crypto.mk @@ -373,3 +373,14 @@ define KernelPackage/crypto-xts endef $(eval $(call KernelPackage,crypto-xts)) + +define KernelPackage/crypto-mv_cesa + TITLE:=Marvell crypto engine + KCONFIG:=CONFIG_CRYPTO_DEV_MV_CESA + FILES:=$(LINUX_DIR)/drivers/crypto/mv_cesa.ko + AUTOLOAD:=$(call AutoLoad,09,mv_cesa) + SUBMENU:=Cryptographic API modules + DEPENDS:=kmod-crypto-core @TARGET_kirkwood||TARGET_orion +endef + +$(eval $(call KernelPackage,crypto-mv_cesa)) diff --git a/target/linux/kirkwood/modules.mk b/target/linux/kirkwood/modules.mk deleted file mode 100644 index 736c82c315..0000000000 --- a/target/linux/kirkwood/modules.mk +++ /dev/null @@ -1,11 +0,0 @@ - -define KernelPackage/crypto-mv_cesa - TITLE:=Marvell crypto engine - KCONFIG:=CONFIG_CRYPTO_DEV_MV_CESA - FILES:=$(LINUX_DIR)/drivers/crypto/mv_cesa.ko - AUTOLOAD:=$(call AutoLoad,09,mv_cesa) - SUBMENU:=Cryptographic API modules - DEPENDS:=kmod-crypto-core @TARGET_kirkwood -endef - -$(eval $(call KernelPackage,crypto-mv_cesa))