crypto: arm64/aes - remove Makefile hack
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 1 Aug 2023 10:11:46 +0000 (19:11 +0900)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 11 Aug 2023 11:19:27 +0000 (19:19 +0800)
commitac2d838fb7c479434513c8d4565a111fb805edaa
tree2a8f68d3b6638e2f37dbf6a24fab7733de7d1944
parent7f1045c61876addde13b9aeff2d504aa9dabc3a7
crypto: arm64/aes - remove Makefile hack

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@kernel.org>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm64/crypto/Makefile
arch/arm64/crypto/aes-glue-ce.c [new file with mode: 0644]
arch/arm64/crypto/aes-glue-neon.c [new file with mode: 0644]