From 598893002745690e57692ca5bf6fb9ff04604a1b Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Fri, 23 Mar 2018 22:04:30 +0900 Subject: .gitignore: move *.lex.c *.tab.[ch] patterns to the top-level .gitignore These patterns are common to host programs that require lexer and parser. Move them to the top .gitignore. Signed-off-by: Masahiro Yamada Acked-by: Frank Rowand --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 85bcc2696442..1e82be162e6f 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,7 @@ *.gz *.i *.ko +*.lex.c *.ll *.lst *.lz4 @@ -37,6 +38,7 @@ *.so.dbg *.su *.symtypes +*.tab.[ch] *.tar *.xz Module.symvers -- cgit From 9ce285cfe3602d71485ac9582ebb8034e485a33c Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Fri, 23 Mar 2018 22:04:35 +0900 Subject: .gitignore: move *-asn1.[ch] patterns to the top-level .gitignore These are common patterns where source files are parsed by the asn1_compiler. Signed-off-by: Masahiro Yamada --- .gitignore | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 1e82be162e6f..a7fef349e319 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ # .* *.a +*-asn1.[ch] *.bin *.bz2 *.c.[012]*.* @@ -130,7 +131,3 @@ all.config # Kdevelop4 *.kdev4 - -#Automatically generated by ASN.1 compiler -net/ipv4/netfilter/nf_nat_snmp_basic-asn1.c -net/ipv4/netfilter/nf_nat_snmp_basic-asn1.h -- cgit From 4fa8bc949de11c99ee2433c602d43f87c452f4f2 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Fri, 23 Mar 2018 22:04:37 +0900 Subject: 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 --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index a7fef349e319..1c8189e67467 100644 --- a/.gitignore +++ b/.gitignore @@ -11,7 +11,7 @@ # .* *.a -*-asn1.[ch] +*.asn1.[ch] *.bin *.bz2 *.c.[012]*.* -- cgit