aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorMasahiro Yamada2014-02-04 17:24:08 +0900
committerTom Rini2014-02-19 11:05:13 -0500
commitea531e3afd3be60be4d06d753e600e7084314903 (patch)
treeb8e02c705edc522c9b64919e3b9876ea0631ae6e /.gitignore
parent56746d80105a9d0fd4ff287953b7e5c029f9850d (diff)
.gitignore: ingore files generated by Kbuild
Ignore generated files by Kbuild such as .*.cmd, *.order, etc. Besides above, - Ignore *.s files We do not need to ignore with file name, asm-offsets.s - Do not ignore *.rej (for quilt) - Ignore backup files, \#*# Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore29
1 files changed, 20 insertions, 9 deletions
diff --git a/.gitignore b/.gitignore
index d7d55383acb..b6135864588 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,16 +5,20 @@
#
# Normal rules
#
-
-*.rej
-*.orig
-*.a
+.*
*.o
+*.o.*
+*.a
+*.s
*.su
-*~
+*.mod.c
+*.i
+*.lst
+*.order
+*.elf
*.swp
-*.patch
*.bin
+*.patch
*.cfgtmp
*.dts.tmp
@@ -24,12 +28,10 @@
#
# Top-level generic files
#
-
/MLO*
/SPL
/System.map
/u-boot
-/u-boot.elf
/u-boot.hex
/u-boot.imx
/u-boot-with-spl.imx
@@ -50,6 +52,12 @@
/u-boot.sb
#
+# git files that we don't want to ignore even it they are dot-files
+#
+!.gitignore
+!.mailmap
+
+#
# Generated files
#
@@ -65,7 +73,6 @@
/include/generated/
/include/spl-autoconf.mk
/include/tpl-autoconf.mk
-asm-offsets.s
# stgit generated dirs
patches-*
@@ -91,3 +98,7 @@ GPATH
GRTAGS
GSYMS
GTAGS
+
+*.orig
+*~
+\#*#