#
# Normal rules
#
-
-*.rej
-*.orig
-*.a
+.*
*.o
+*.o.*
+*.a
+*.s
+*.su
+*.mod.c
+*.i
+*.lst
+*.order
+*.elf
+*.swp
+*.bin
+*.patch
+*.cfgtmp
+*.dts.tmp
+
+# Build tree
+/build-*
#
# Top-level generic files
#
-
+/MLO*
+/SPL
/System.map
/u-boot
+/u-boot.hex
+/u-boot.imx
+/u-boot-with-spl.imx
+/u-boot-with-nand-spl.imx
/u-boot.map
-/u-boot.bin
/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.sb
+
+#
+# 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/
+/include/spl-autoconf.mk
+/include/tpl-autoconf.mk
+
# stgit generated dirs
patches-*
+.stgit-edit.txt
# quilt's files
patches
series
+# gdb files
+.gdb_history
+
# cscope files
cscope.*
+
+# tags files
+/tags
+/ctags
+/etags
+
+# gnu global files
+GPATH
+GRTAGS
+GSYMS
+GTAGS
+
+*.orig
+*~
+\#*#