Add some basic .gitignore files

This still leaves driver and architecture-specific subdirectories alone,
but gets rid of the bulk of the "generic" generated files that we should
ignore.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Linus Torvalds 2005-10-18 08:26:15 -07:00
parent 39ca371c45
commit 1e65174a33
10 changed files with 84 additions and 0 deletions

30
.gitignore vendored Normal file
View file

@ -0,0 +1,30 @@
#
# NOTE! Don't add files that are generated in specific
# subdirectories here. Add them in the ".gitignore" file
# in that subdirectory instead.
#
# Normal rules
#
.*
*.o
*.a
*.s
*.ko
*.mod.c
#
# Top-level generic files
#
vmlinux*
System.map
Module.symvers
#
# Generated include files
#
include/asm
include/config
include/linux/autoconf.h
include/linux/compile.h
include/linux/version.h

3
drivers/char/.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
consolemap_deftbl.c
defkeymap.c

4
drivers/pci/.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
classlist.h
devlist.h
gen-devlist

7
drivers/video/logo/.gitignore vendored Normal file
View file

@ -0,0 +1,7 @@
#
# Generated files
#
*_mono.c
*_vga16.c
*_clut224.c
*_gray256.c

6
lib/.gitignore vendored Normal file
View file

@ -0,0 +1,6 @@
#
# Generated files
#
gen_crc32table
crc32table.h

4
scripts/.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
conmakehash
kallsyms
pnmtologo

3
scripts/basic/.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
fixdep
split-include
docproc

16
scripts/kconfig/.gitignore vendored Normal file
View file

@ -0,0 +1,16 @@
#
# Generated files
#
config*
lex.*.c
*.tab.c
*.tab.h
#
# configuration programs
#
conf
mconf
qconf
gconf
kxgettext

4
scripts/mod/.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
elfconfig.h
mk_elfconfig
modpost

7
usr/.gitignore vendored Normal file
View file

@ -0,0 +1,7 @@
#
# Generated files
#
gen_init_cpio
initramfs_data.cpio
initramfs_data.cpio.gz
initramfs_list