mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 08:03:01 +09:00
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>
This commit is contained in:
committed by
Herbert Xu
parent
7f1045c618
commit
ac2d838fb7
@@ -81,11 +81,6 @@ aes-arm64-y := aes-cipher-core.o aes-cipher-glue.o
|
||||
obj-$(CONFIG_CRYPTO_AES_ARM64_BS) += aes-neon-bs.o
|
||||
aes-neon-bs-y := aes-neonbs-core.o aes-neonbs-glue.o
|
||||
|
||||
CFLAGS_aes-glue-ce.o := -DUSE_V8_CRYPTO_EXTENSIONS
|
||||
|
||||
$(obj)/aes-glue-%.o: $(src)/aes-glue.c FORCE
|
||||
$(call if_changed_rule,cc_o_c)
|
||||
|
||||
quiet_cmd_perlasm = PERLASM $@
|
||||
cmd_perlasm = $(PERL) $(<) void $(@)
|
||||
|
||||
|
||||
2
arch/arm64/crypto/aes-glue-ce.c
Normal file
2
arch/arm64/crypto/aes-glue-ce.c
Normal file
@@ -0,0 +1,2 @@
|
||||
#define USE_V8_CRYPTO_EXTENSIONS
|
||||
#include "aes-glue.c"
|
||||
1
arch/arm64/crypto/aes-glue-neon.c
Normal file
1
arch/arm64/crypto/aes-glue-neon.c
Normal file
@@ -0,0 +1 @@
|
||||
#include "aes-glue.c"
|
||||
Reference in New Issue
Block a user