# subdirectories here. Add them in the ".gitignore" file
# in that subdirectory instead.
#
-# Normal rules
+# Normal rules (sorted alphabetically)
#
-
-*.rej
-*.orig
+.*
*.a
+*.asn1.[ch]
+*.bin
+*.cfgout
+*.dtb
+*.dtbo
+*.dtb.S
+*.elf
+*.exe
+*.gcda
+*.gcno
+*.i
+*.img
+*.lex.c
+*.lst
+*.mod.c
*.o
+*.o.*
+*.order
+*.patch
+*.s
*.su
-*~
*.swp
-*.patch
-*.bin
-*.cfgtmp
+*.tab.[ch]
# Build tree
/build-*
#
# Top-level generic files
#
-
-/MLO
+fit-dtb.blob*
+/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
+/*.log
#
-# Generated files
+# git files that we don't want to ignore even it they are dot-files
#
+!.gitignore
+!.mailmap
-*.depend*
-/LOG
-/errlog
-/reloc_off
+#
+# Generated files
+#
+/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
+*~
+\#*#