From: David Michael Date: Tue, 29 Nov 2016 19:15:12 +0000 (-0800) Subject: crypto: rsa - Add Makefile dependencies to fix parallel builds X-Git-Tag: MMI-PSA29.97-13-9~6665^2~6 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=57891633eeef60e732e045731cf20e50ee80acb4;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git crypto: rsa - Add Makefile dependencies to fix parallel builds Both asn1 headers are included by rsa_helper.c, so rsa_helper.o should explicitly depend on them. Signed-off-by: David Michael Signed-off-by: Herbert Xu --- diff --git a/crypto/Makefile b/crypto/Makefile index 99cc64ac70ef..bd6a029094e6 100644 --- a/crypto/Makefile +++ b/crypto/Makefile @@ -40,6 +40,7 @@ obj-$(CONFIG_CRYPTO_ECDH) += ecdh_generic.o $(obj)/rsapubkey-asn1.o: $(obj)/rsapubkey-asn1.c $(obj)/rsapubkey-asn1.h $(obj)/rsaprivkey-asn1.o: $(obj)/rsaprivkey-asn1.c $(obj)/rsaprivkey-asn1.h +$(obj)/rsa_helper.o: $(obj)/rsapubkey-asn1.h $(obj)/rsaprivkey-asn1.h clean-files += rsapubkey-asn1.c rsapubkey-asn1.h clean-files += rsaprivkey-asn1.c rsaprivkey-asn1.h