summaryrefslogtreecommitdiff
path: root/scripts/.gitignore
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-04-30 11:03:08 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2021-05-02 00:43:35 +0900
commit9009b455811b0fa1f6b0adfa94db136984db5a38 (patch)
treeebe313301423019e596073d3c14d86ef91ddae94 /scripts/.gitignore
parent77a88274dc1a2cf3a775161d9a3242bc798ee680 (diff)
.gitignore: prefix local generated files with a slash
The pattern prefixed with '/' matches files in the same directory, but not ones in sub-directories. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Acked-by: Miguel Ojeda <ojeda@kernel.org> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Andra Paraschiv <andraprs@amazon.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Diffstat (limited to 'scripts/.gitignore')
-rw-r--r--scripts/.gitignore18
1 files changed, 9 insertions, 9 deletions
diff --git a/scripts/.gitignore b/scripts/.gitignore
index a6c11316c969..e83c620ef52c 100644
--- a/scripts/.gitignore
+++ b/scripts/.gitignore
@@ -1,11 +1,11 @@
# SPDX-License-Identifier: GPL-2.0-only
-bin2c
-kallsyms
-unifdef
-recordmcount
-sorttable
-asn1_compiler
-extract-cert
-sign-file
-insert-sys-cert
+/asn1_compiler
+/bin2c
+/extract-cert
+/insert-sys-cert
+/kallsyms
/module.lds
+/recordmcount
+/sign-file
+/sorttable
+/unifdef