summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-10-18 17:26:15 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-18 17:26:15 +0200
commit1e65174a3378494608e8ed7f8c74d658be9a0fb2 (patch)
tree88a87eebc085d04ba59580402a54e5867ae15afb /.gitignore
parent[PATCH] kbuild: Eliminate build error when KALLSYMS not defined (diff)
downloadlinux-1e65174a3378494608e8ed7f8c74d658be9a0fb2.tar.xz
linux-1e65174a3378494608e8ed7f8c74d658be9a0fb2.zip
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>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore30
1 files changed, 30 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..5014bfa48ac1
--- /dev/null
+++ b/.gitignore
@@ -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
+