Skip to content

Commit

Permalink
Add some basic .gitignore files
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Linus Torvalds committed Oct 18, 2005
1 parent 39ca371 commit 1e65174
Show file tree
Hide file tree
Showing 10 changed files with 84 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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 changes: 3 additions & 0 deletions drivers/char/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
consolemap_deftbl.c
defkeymap.c

4 changes: 4 additions & 0 deletions drivers/pci/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
classlist.h
devlist.h
gen-devlist

7 changes: 7 additions & 0 deletions drivers/video/logo/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#
# Generated files
#
*_mono.c
*_vga16.c
*_clut224.c
*_gray256.c
6 changes: 6 additions & 0 deletions lib/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#
# Generated files
#
gen_crc32table
crc32table.h

4 changes: 4 additions & 0 deletions scripts/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
conmakehash
kallsyms
pnmtologo

3 changes: 3 additions & 0 deletions scripts/basic/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fixdep
split-include
docproc
16 changes: 16 additions & 0 deletions scripts/kconfig/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#
# Generated files
#
config*
lex.*.c
*.tab.c
*.tab.h

#
# configuration programs
#
conf
mconf
qconf
gconf
kxgettext
4 changes: 4 additions & 0 deletions scripts/mod/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
elfconfig.h
mk_elfconfig
modpost

7 changes: 7 additions & 0 deletions usr/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#
# Generated files
#
gen_init_cpio
initramfs_data.cpio
initramfs_data.cpio.gz
initramfs_list

0 comments on commit 1e65174

Please sign in to comment.