#
# Normal rules
#
-
-*.rej
-*.orig
-*.a
+.*
*.o
+*.o.*
+*.a
+*.s
*.su
-*~
+*.mod.c
+*.i
+*.lst
+*.order
+*.elf
*.swp
-*.patch
*.bin
+*.patch
*.cfgtmp
+# host programs on Cygwin
+*.exe
+
# Build tree
/build-*
#
# Top-level generic files
#
-
-/MLO
+/MLO*
+/SPL
/System.map
-/u-boot
-/u-boot.hex
-/u-boot.imx
-/u-boot.map
-/u-boot.srec
-/u-boot.ldr
-/u-boot.ldr.hex
-/u-boot.ldr.srec
-/u-boot.img
-/u-boot.kwb
-/u-boot.sha1
-/u-boot.dis
-/u-boot.lds
-/u-boot.ubl
-/u-boot.ais
-/u-boot.dtb
-/u-boot.sb
-/u-boot.geany
+/u-boot*
+/boards.cfg
#
-# Generated files
+# git files that we don't want to ignore even it they are dot-files
#
+!.gitignore
+!.mailmap
-*.depend*
+#
+# Generated files
+#
/LOG
-/errlog
-/reloc_off
+/spl/
+/tpl/
+/defconfig
+#
+# Generated include files
+#
+/include/config/
/include/generated/
-asm-offsets.s
# stgit generated dirs
patches-*
/ctags
/etags
-# spl ais files
-/spl/*.ais
+# gnu global files
+GPATH
+GRTAGS
+GSYMS
+GTAGS
+
+*.orig
+*~
+\#*#