# 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
-*.dts.tmp
+*.tab.[ch]
# Build tree
/build-*
#
# Top-level generic files
#
-
+fit-dtb.blob*
/MLO*
-/SPL
+/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.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.bd
-/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/
-/include/spl-autoconf.mk
-/include/tpl-autoconf.mk
-asm-offsets.s
# stgit generated dirs
patches-*
GSYMS
GTAGS
-# spl ais files
-/spl/*.ais
+*.orig
+*~
+\#*#
+
+# Python cache
+__pycache__