Skip to content

Commit 7c2105f

Browse files
andreas-schwabctmarinas
authored andcommitted
arm64/crypto: fix makefile rule for aes-glue-%.o
This fixes the following build failure when building with CONFIG_MODVERSIONS enabled: CC [M] arch/arm64/crypto/aes-glue-ce.o ld: cannot find arch/arm64/crypto/aes-glue-ce.o: No such file or directory make[1]: *** [arch/arm64/crypto/aes-ce-blk.o] Error 1 make: *** [arch/arm64/crypto] Error 2 The $(obj)/aes-glue-%.o rule only creates $(obj)/.tmp_aes-glue-ce.o, it should use if_changed_rule instead of if_changed_dep. Signed-off-by: Andreas Schwab <schwab@suse.de> [ardb: mention CONFIG_MODVERSIONS in commit log] Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
1 parent 2a8f45b commit 7c2105f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/arm64/crypto/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ AFLAGS_aes-neon.o := -DINTERLEAVE=4
3535
CFLAGS_aes-glue-ce.o := -DUSE_V8_CRYPTO_EXTENSIONS
3636

3737
$(obj)/aes-glue-%.o: $(src)/aes-glue.c FORCE
38-
$(call if_changed_dep,cc_o_c)
38+
$(call if_changed_rule,cc_o_c)

0 commit comments

Comments
 (0)