mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-18 05:36:57 +08:00
wireguard: add support for 5.15
This commit is contained in:
parent
ae4bace648
commit
23d753e060
@ -446,24 +446,13 @@ endef
|
|||||||
|
|
||||||
$(eval $(call KernelPackage,crypto-kpp))
|
$(eval $(call KernelPackage,crypto-kpp))
|
||||||
|
|
||||||
|
|
||||||
define KernelPackage/crypto-lib-blake2s-generic
|
|
||||||
TITLE:=BLAKE2s hash function library generic
|
|
||||||
DEPENDS:=@(!CONFIG_arm&&!TARGET_x86)
|
|
||||||
KCONFIG:=CONFIG_CRYPTO_LIB_BLAKE2S_GENERIC
|
|
||||||
HIDDEN:=1
|
|
||||||
FILES:= $(LINUX_DIR)/lib/crypto/libblake2s-generic.ko
|
|
||||||
$(call AddDepends/crypto,+PACKAGE_kmod-crypto-hash:kmod-crypto-hash)
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call KernelPackage,crypto-lib-blake2s-generic))
|
|
||||||
|
|
||||||
define KernelPackage/crypto-lib-blake2s
|
define KernelPackage/crypto-lib-blake2s
|
||||||
TITLE:=BLAKE2s hash function library
|
TITLE:=BLAKE2s hash function library
|
||||||
DEPENDS:=+kmod-crypto-lib-blake2s-generic
|
|
||||||
KCONFIG:=CONFIG_CRYPTO_LIB_BLAKE2S
|
KCONFIG:=CONFIG_CRYPTO_LIB_BLAKE2S
|
||||||
HIDDEN:=1
|
HIDDEN:=1
|
||||||
FILES:= $(LINUX_DIR)/lib/crypto/libblake2s.ko
|
FILES:= \
|
||||||
|
$(LINUX_DIR)/lib/crypto/libblake2s.ko \
|
||||||
|
$(LINUX_DIR)/lib/crypto/libblake2s-generic.ko
|
||||||
$(call AddDepends/crypto,+PACKAGE_kmod-crypto-hash:kmod-crypto-hash)
|
$(call AddDepends/crypto,+PACKAGE_kmod-crypto-hash:kmod-crypto-hash)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -481,11 +470,6 @@ define KernelPackage/crypto-lib-blake2s/arm
|
|||||||
FILES+=$(LINUX_DIR)/arch/arm/crypto/blake2s-arm.ko
|
FILES+=$(LINUX_DIR)/arch/arm/crypto/blake2s-arm.ko
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifdef KernelPackage/crypto-lib-blake2s/$(ARCH)
|
|
||||||
KernelPackage/crypto-lib-blake2s/$(CRYPTO_TARGET)=\
|
|
||||||
$(KernelPackage/crypto-lib-blake2s/$(ARCH))
|
|
||||||
endif
|
|
||||||
|
|
||||||
$(eval $(call KernelPackage,crypto-lib-blake2s))
|
$(eval $(call KernelPackage,crypto-lib-blake2s))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user