Skip to content

Commit d6317d7

Browse files
jstancekgregkh
authored andcommitted
crypto: qat - make qat_asym_algs.o depend on asn1 headers
commit 81dc0365cfa7bc7c08a0e44d9ee04964df782e19 upstream. Parallel build can sporadically fail because asn1 headers may not be built yet by the time qat_asym_algs.o is compiled: drivers/crypto/qat/qat_common/qat_asym_algs.c:55:32: fatal error: qat_rsapubkey-asn1.h: No such file or directory #include "qat_rsapubkey-asn1.h" Signed-off-by: Jan Stancek <jstancek@redhat.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 32d1067 commit d6317d7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/crypto/qat/qat_common/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ $(obj)/qat_rsapubkey-asn1.o: $(obj)/qat_rsapubkey-asn1.c \
22
$(obj)/qat_rsapubkey-asn1.h
33
$(obj)/qat_rsaprivkey-asn1.o: $(obj)/qat_rsaprivkey-asn1.c \
44
$(obj)/qat_rsaprivkey-asn1.h
5+
$(obj)/qat_asym_algs.o: $(obj)/qat_rsapubkey-asn1.h $(obj)/qat_rsaprivkey-asn1.h
56

67
clean-files += qat_rsapubkey-asn1.c qat_rsapubkey-asn1.h
78
clean-files += qat_rsaprivkey-asn1.c qat_rsapvivkey-asn1.h

0 commit comments

Comments
 (0)