Makefile: remove a cleaning target "tidy"
[oweals/u-boot.git] / .gitignore
index c79d5770c04623fa3430273dff92ee9c49bb866a..24019b373750a8f6f48b877a5f63267e3b316827 100644 (file)
@@ -5,17 +5,22 @@
 #
 # Normal rules
 #
-
-*.rej
-*.orig
-*.a
+.*
 *.o
+*.o.*
+*.a
+*.s
 *.su
-*~
+*.mod.c
+*.i
+*.lst
+*.order
+*.elf
 *.swp
-*.patch
 *.bin
+*.patch
 *.cfgtmp
+*.dts.tmp
 
 # Build tree
 /build-*
@@ -23,8 +28,7 @@
 #
 # Top-level generic files
 #
-
-/MLO
+/MLO*
 /SPL
 /System.map
 /u-boot
 /u-boot.ais
 /u-boot.dtb
 /u-boot.sb
-/u-boot.bd
-/u-boot.geany
+
+#
+# git files that we don't want to ignore even it they are dot-files
+#
+!.gitignore
+!.mailmap
 
 #
 # Generated files
 #
 
-*.depend*
 /LOG
 /errlog
 /reloc_off
 
+!/spl/Makefile
+/spl/*
+/tpl/
+
 /include/generated/
-asm-offsets.s
+/include/spl-autoconf.mk
+/include/tpl-autoconf.mk
 
 # stgit generated dirs
 patches-*
@@ -80,5 +92,12 @@ cscope.*
 /ctags
 /etags
 
-# spl ais files
-/spl/*.ais
+# gnu global files
+GPATH
+GRTAGS
+GSYMS
+GTAGS
+
+*.orig
+*~
+\#*#