.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>
This commit is contained in:
Masahiro Yamada 2021-04-30 11:03:08 +09:00
parent 77a88274dc
commit 9009b45581
27 changed files with 56 additions and 54 deletions

View File

@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
*.example.dts *.example.dts
processed-schema*.yaml /processed-schema*.yaml
processed-schema*.json /processed-schema*.json

4
arch/.gitignore vendored
View File

@ -1,3 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
i386 /i386/
x86_64 /x86_64/

4
certs/.gitignore vendored
View File

@ -1,3 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
x509_certificate_list /x509_certificate_list
x509_revocation_list /x509_revocation_list

View File

@ -1,2 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
ti-emif-asm-offsets.h /ti-emif-asm-offsets.h

View File

@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0
conmakehash /conmakehash
consolemap_deftbl.c /consolemap_deftbl.c
defkeymap.c /defkeymap.c

View File

@ -1,3 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
mkutf8data /mkutf8data
utf8data.h /utf8data.h

2
kernel/.gitignore vendored
View File

@ -1,3 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
/config_data /config_data
kheaders.md5 /kheaders.md5

10
lib/.gitignore vendored
View File

@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
gen_crc32table /crc32table.h
gen_crc64table /crc64table.h
crc32table.h /gen_crc32table
crc64table.h /gen_crc64table
oid_registry_data.c /oid_registry_data.c

View File

@ -1,2 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
cfag12864b-example /cfag12864b-example

View File

@ -1 +1,2 @@
binderfs_example # SPDX-License-Identifier: GPL-2.0
/binderfs_example

View File

@ -1,2 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
ucon /ucon

View File

@ -1,2 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
hid-example /hid-example

View File

@ -1,2 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
mei-amt-version /mei-amt-version

View File

@ -1,2 +1,2 @@
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0
ne_ioctl_sample /ne_ioctl_sample

View File

@ -1,2 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
pidfd-metadata /pidfd-metadata

View File

@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
bpf-direct /bpf-direct
bpf-fancy /bpf-fancy
dropper /dropper
user-trap /user-trap

View File

@ -1,2 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
hpet_example /hpet_example

View File

@ -1,3 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
test-fsmount /test-fsmount
test-statx /test-statx

View File

@ -1 +1,2 @@
watch_test # SPDX-License-Identifier: GPL-2.0-only
/watch_test

View File

@ -1,2 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
watchdog-simple /watchdog-simple

18
scripts/.gitignore vendored
View File

@ -1,11 +1,11 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
bin2c /asn1_compiler
kallsyms /bin2c
unifdef /extract-cert
recordmcount /insert-sys-cert
sorttable /kallsyms
asn1_compiler
extract-cert
sign-file
insert-sys-cert
/module.lds /module.lds
/recordmcount
/sign-file
/sorttable
/unifdef

View File

@ -1,2 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
fixdep /fixdep

View File

@ -1,3 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
dtc /dtc
fdtoverlay /fdtoverlay

View File

@ -1,2 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
randomize_layout_seed.h /randomize_layout_seed.h

View File

@ -1,2 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
genksyms /genksyms

View File

@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
elfconfig.h /devicetable-offsets.h
mk_elfconfig /elfconfig.h
modpost /mk_elfconfig
devicetable-offsets.h /modpost

4
usr/.gitignore vendored
View File

@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
gen_init_cpio /gen_init_cpio
initramfs_data.cpio /initramfs_data.cpio
/initramfs_inc_data /initramfs_inc_data