arm64/crypto: fix makefile rule for aes-glue-%.o
authorAndreas Schwab <schwab@suse.de>
Thu, 24 Jul 2014 16:03:26 +0000 (17:03 +0100)
committerJP Abgrall <jpa@google.com>
Thu, 28 Aug 2014 17:22:25 +0000 (10:22 -0700)
commit181dbc7cc2ba7135f08aa8647b7817cc37b8ffa7
treeb0a3ae3944d9998fe30c1aaeebf5191ee3e243dd
parent945ce0a7bdc63b712f332848c51d5505841d50e0
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>
arch/arm64/crypto/Makefile