diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2021-04-30 05:03:08 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-05-01 18:43:35 +0300 |
commit | 9009b455811b0fa1f6b0adfa94db136984db5a38 (patch) | |
tree | ebe313301423019e596073d3c14d86ef91ddae94 /scripts/mod | |
parent | 77a88274dc1a2cf3a775161d9a3242bc798ee680 (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/mod')
-rw-r--r-- | scripts/mod/.gitignore | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/mod/.gitignore b/scripts/mod/.gitignore index 07e4a39f90a6..0465ec33c9bf 100644 --- a/scripts/mod/.gitignore +++ b/scripts/mod/.gitignore @@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only -elfconfig.h -mk_elfconfig -modpost -devicetable-offsets.h +/devicetable-offsets.h +/elfconfig.h +/mk_elfconfig +/modpost |