forked from Ivasoft/openwrt
kernel: make kmod package dependencies forward compatible
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
@@ -27,7 +27,7 @@ define KernelPackage/crypto-aead
|
||||
CONFIG_CRYPTO_AEAD2
|
||||
FILES:=$(LINUX_DIR)/crypto/aead.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,aead,1)
|
||||
$(call AddDepends/crypto, +LINUX_4_4:kmod-crypto-null)
|
||||
$(call AddDepends/crypto, +!LINUX_3_18:kmod-crypto-null)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-aead))
|
||||
@@ -242,7 +242,7 @@ $(eval $(call KernelPackage,crypto-hw-hifn-795x))
|
||||
|
||||
define KernelPackage/crypto-authenc
|
||||
TITLE:=Combined mode wrapper for IPsec
|
||||
DEPENDS:=+kmod-crypto-manager +LINUX_4_4:kmod-crypto-null
|
||||
DEPENDS:=+kmod-crypto-manager +!LINUX_3_18:kmod-crypto-null
|
||||
KCONFIG:=CONFIG_CRYPTO_AUTHENC
|
||||
FILES:=$(LINUX_DIR)/crypto/authenc.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,authenc)
|
||||
|
||||
Reference in New Issue
Block a user