summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore32
-rw-r--r--include/.gitignore1
2 files changed, 31 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 67fed082c8..cda275ec73 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,13 +1,41 @@
+#
+# NOTE! Don't add files that are generated in specific
+# subdirectories here. Add them in the ".gitignore" file
+# in that subdirectory instead.
+#
+# Normal rules
+#
+
+*.rej
*.orig
*.a
*.o
-*.depend
-System.map
+
+#
+# Top-level generic files
+#
+
+/System.map
/u-boot
/u-boot.map
/u-boot.bin
/u-boot.srec
+
+#
+# Generated files
+#
+
+*.depend
/LOG
/errlog
/reloc_off
+# stgit generated dirs
+patches-*
+
+# quilt's files
+patches
+series
+
+# cscope files
+cscope.*
diff --git a/include/.gitignore b/include/.gitignore
index d8fda80d5e..ab7d4c76f4 100644
--- a/include/.gitignore
+++ b/include/.gitignore
@@ -1,3 +1,4 @@
+/autoconf.mk*
/asm
/asm-ppc/arch
/bmp_logo.h
OpenPOWER on IntegriCloud