diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-03-23 14:04:37 +0100 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-04-07 12:04:02 +0200 |
commit | 4fa8bc949de11c99ee2433c602d43f87c452f4f2 (patch) | |
tree | 63c75a716af9a76798f17cc4c7f4341f0decf39f /crypto/Makefile | |
parent | kbuild: clean up *-asn1.[ch] patterns from top-level Makefile (diff) | |
download | linux-4fa8bc949de11c99ee2433c602d43f87c452f4f2.tar.xz linux-4fa8bc949de11c99ee2433c602d43f87c452f4f2.zip |
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 dh_generic-y += dh_helper.o obj-$(CONFIG_CRYPTO_DH) += dh_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 +$(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 -rsa_generic-y := rsapubkey-asn1.o -rsa_generic-y += rsaprivkey-asn1.o +rsa_generic-y := rsapubkey.asn1.o +rsa_generic-y += rsaprivkey.asn1.o rsa_generic-y += rsa.o rsa_generic-y += rsa_helper.o rsa_generic-y += rsa-pkcs1pad.o |