mirror of
https://github.com/openwrt/openwrt.git
synced 2026-06-17 17:01:44 +04:00
kenrel: crypto: fix build with Linux >= 6.18 after md5-ppc removal
Linux commit 09371e1349c9 ("lib/crypto: powerpc/md5: Migrate optimized code into library")
removed the PowerPC-specific MD5 implementation (md5-ppc.ko) and
replaced it with an optimized library implementation in lib/crypto.
As a result, CONFIG_CRYPTO_MD5_PPC and the module
arch/powerpc/crypto/md5-ppc.ko no longer exist in kernels >= 6.18.
Link: https://github.com/openwrt/openwrt/pull/22732
Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
@@ -741,7 +741,7 @@ define KernelPackage/crypto-md5
|
||||
KCONFIG:= \
|
||||
CONFIG_CRYPTO_MD5 \
|
||||
CONFIG_CRYPTO_MD5_OCTEON \
|
||||
CONFIG_CRYPTO_MD5_PPC
|
||||
CONFIG_CRYPTO_MD5_PPC@lt6.18
|
||||
FILES:=$(LINUX_DIR)/crypto/md5.ko \
|
||||
$(LINUX_DIR)/lib/crypto/libmd5.ko@ge6.18
|
||||
AUTOLOAD:=$(call AutoLoad,09,md5 libmd5@ge6.18)
|
||||
@@ -754,8 +754,8 @@ define KernelPackage/crypto-md5/octeon
|
||||
endef
|
||||
|
||||
define KernelPackage/crypto-md5/powerpc
|
||||
FILES+=$(LINUX_DIR)/arch/powerpc/crypto/md5-ppc.ko
|
||||
AUTOLOAD+=$(call AutoLoad,09,md5-ppc)
|
||||
FILES+=$(LINUX_DIR)/arch/powerpc/crypto/md5-ppc.ko@lt6.18
|
||||
AUTOLOAD+=$(call AutoLoad,09,LINUX_6_12:md5-ppc)
|
||||
endef
|
||||
|
||||
ifdef KernelPackage/crypto-md5/$(ARCH)
|
||||
|
||||
Reference in New Issue
Block a user