diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-03-23 09:04:37 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-04-07 06:04:02 -0400 |
commit | 4fa8bc949de11c99ee2433c602d43f87c452f4f2 (patch) | |
tree | 63c75a716af9a76798f17cc4c7f4341f0decf39f /crypto/Makefile | |
parent | 3ca3273eaa509a6a17e33fc7d31714bfd9f65a38 (diff) |
kbuild: rename *-asn1.[ch] to *.asn1.[ch]
Our convention is to distinguish file types by suffixes with a period
as a separator.
*-asn1.[ch] is a different pattern from other generated sources such
as *.lex.c, *.tab.[ch], *.dtb.S, etc. More confusing, files with
'-asn1.[ch]' are generated files, but '_asn1.[ch]' are checked-in
files:
net/netfilter/nf_conntrack_h323_asn1.c
include/linux/netfilter/nf_conntrack_h323_asn1.h
include/linux/sunrpc/gss_asn1.h
Rename generated files to *.asn1.[ch] for consistency.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'crypto/Makefile')
-rw-r--r-- | crypto/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crypto/Makefile b/crypto/Makefile index dd053be693b6..3a5f01616f74 100644 --- a/crypto/Makefile +++ b/crypto/Makefile | |||
@@ -35,12 +35,12 @@ dh_generic-y := dh.o | |||
35 | dh_generic-y += dh_helper.o | 35 | dh_generic-y += dh_helper.o |
36 | obj-$(CONFIG_CRYPTO_DH) += dh_generic.o | 36 | obj-$(CONFIG_CRYPTO_DH) += dh_generic.o |
37 | 37 | ||
38 | $(obj)/rsapubkey-asn1.o: $(obj)/rsapubkey-asn1.c $(obj)/rsapubkey-asn1.h | 38 | $(obj)/rsapubkey.asn1.o: $(obj)/rsapubkey.asn1.c $(obj)/rsapubkey.asn1.h |
39 | $(obj)/rsaprivkey-asn1.o: $(obj)/rsaprivkey-asn1.c $(obj)/rsaprivkey-asn1.h | 39 | $(obj)/rsaprivkey.asn1.o: $(obj)/rsaprivkey.asn1.c $(obj)/rsaprivkey.asn1.h |
40 | $(obj)/rsa_helper.o: $(obj)/rsapubkey-asn1.h $(obj)/rsaprivkey-asn1.h | 40 | $(obj)/rsa_helper.o: $(obj)/rsapubkey.asn1.h $(obj)/rsaprivkey.asn1.h |
41 | 41 | ||
42 | rsa_generic-y := rsapubkey-asn1.o | 42 | rsa_generic-y := rsapubkey.asn1.o |
43 | rsa_generic-y += rsaprivkey-asn1.o | 43 | rsa_generic-y += rsaprivkey.asn1.o |
44 | rsa_generic-y += rsa.o | 44 | rsa_generic-y += rsa.o |
45 | rsa_generic-y += rsa_helper.o | 45 | rsa_generic-y += rsa_helper.o |
46 | rsa_generic-y += rsa-pkcs1pad.o | 46 | rsa_generic-y += rsa-pkcs1pad.o |