Re: [PATCH] crypto: arm64/aes: remove Makefile hack

From: Herbert Xu
Date: Fri Aug 11 2023 - 07:29:12 EST


On Tue, Aug 01, 2023 at 07:11:46PM +0900, Masahiro Yamada wrote:
> Do it more simiply. This also fixes single target builds.
>
> [before]
>
> $ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- arch/arm64/crypto/aes-glue-ce.i
> [snip]
> make[4]: *** No rule to make target 'arch/arm64/crypto/aes-glue-ce.i'. Stop.
>
> [after]
>
> $ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- arch/arm64/crypto/aes-glue-ce.i
> [snip]
> CPP arch/arm64/crypto/aes-glue-ce.i
>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> ---
>
> arch/arm64/crypto/Makefile | 5 -----
> arch/arm64/crypto/aes-glue-ce.c | 2 ++
> arch/arm64/crypto/aes-glue-neon.c | 1 +
> 3 files changed, 3 insertions(+), 5 deletions(-)
> create mode 100644 arch/arm64/crypto/aes-glue-ce.c
> create mode 100644 arch/arm64/crypto/aes-glue-neon.c

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt