Ignore generated files by Kbuild such as .*.cmd, *.order, etc.
Besides above,
- Ignore *.s files
We do not need to ignore with file name, asm-offsets.s
- Do not ignore *.rej (for quilt)
- Ignore backup files, \#*#
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
+*.mod.c
+*.i
+*.lst
+*.order
+*.elf
#
# Top-level generic files
#
#
# Top-level generic files
#
/MLO*
/SPL
/System.map
/u-boot
/MLO*
/SPL
/System.map
/u-boot
/u-boot.hex
/u-boot.imx
/u-boot-with-spl.imx
/u-boot.hex
/u-boot.imx
/u-boot-with-spl.imx
+#
+# git files that we don't want to ignore even it they are dot-files
+#
+!.gitignore
+!.mailmap
+
/include/generated/
/include/spl-autoconf.mk
/include/tpl-autoconf.mk
/include/generated/
/include/spl-autoconf.mk
/include/tpl-autoconf.mk
# stgit generated dirs
patches-*
# stgit generated dirs
patches-*