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>
--- /dev/null
+#
+# 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
+
--- /dev/null
+consolemap_deftbl.c
+defkeymap.c
+
--- /dev/null
+classlist.h
+devlist.h
+gen-devlist
+
--- /dev/null
+#
+# Generated files
+#
+*_mono.c
+*_vga16.c
+*_clut224.c
+*_gray256.c
--- /dev/null
+#
+# Generated files
+#
+gen_crc32table
+crc32table.h
+
--- /dev/null
+conmakehash
+kallsyms
+pnmtologo
+
--- /dev/null
+fixdep
+split-include
+docproc
--- /dev/null
+#
+# Generated files
+#
+config*
+lex.*.c
+*.tab.c
+*.tab.h
+
+#
+# configuration programs
+#
+conf
+mconf
+qconf
+gconf
+kxgettext
--- /dev/null
+elfconfig.h
+mk_elfconfig
+modpost
+
--- /dev/null
+#
+# Generated files
+#
+gen_init_cpio
+initramfs_data.cpio
+initramfs_data.cpio.gz
+initramfs_list