kernel: no chacha-mips.ko on mips32 r1 targets
authorIlya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Fri, 26 Feb 2021 22:35:24 +0000 (14:35 -0800)
committerDavid Bauer <mail@david-bauer.net>
Sat, 27 Feb 2021 09:14:23 +0000 (10:14 +0100)
commit464451d9ab824c2ed62f7da33f0a965f562714c8
tree06d73903a077488bfa43f00e76d2e1e3a801d452
parentcbcac4fde8ba476ac20ec14bfa6a3c3d9a8a8c02
kernel: no chacha-mips.ko on mips32 r1 targets

CHACHA_MIPS depends on CPU_MIPS32_R2. Therefore,
kmod-crypto-lib-chacha20 should not contain chacha-mips.ko on MIPS32 R1
targets. Enforce that in the target-specific definition.

Fixes bcm47xx, bcm63xx, lantiq/ase, ath25 builds.

Fixes: 06351f1 ("kernel: migrate wireguard into the kernel tree")
Cc: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
package/kernel/linux/modules/crypto.mk