.gitignore: ingore files generated by Kbuild

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>
master
Masahiro Yamada 11 years ago committed by Tom Rini
parent 56746d8010
commit ea531e3afd
  1. 29
      .gitignore

29
.gitignore vendored

@ -5,16 +5,20 @@
# #
# Normal rules # Normal rules
# #
.*
*.rej
*.orig
*.a
*.o *.o
*.o.*
*.a
*.s
*.su *.su
*~ *.mod.c
*.i
*.lst
*.order
*.elf
*.swp *.swp
*.patch
*.bin *.bin
*.patch
*.cfgtmp *.cfgtmp
*.dts.tmp *.dts.tmp
@ -24,12 +28,10 @@
# #
# Top-level generic files # Top-level generic files
# #
/MLO* /MLO*
/SPL /SPL
/System.map /System.map
/u-boot /u-boot
/u-boot.elf
/u-boot.hex /u-boot.hex
/u-boot.imx /u-boot.imx
/u-boot-with-spl.imx /u-boot-with-spl.imx
@ -50,6 +52,12 @@
/u-boot.sb /u-boot.sb
# #
# git files that we don't want to ignore even it they are dot-files
#
!.gitignore
!.mailmap
#
# Generated files # Generated files
# #
@ -65,7 +73,6 @@
/include/generated/ /include/generated/
/include/spl-autoconf.mk /include/spl-autoconf.mk
/include/tpl-autoconf.mk /include/tpl-autoconf.mk
asm-offsets.s
# stgit generated dirs # stgit generated dirs
patches-* patches-*
@ -91,3 +98,7 @@ GPATH
GRTAGS GRTAGS
GSYMS GSYMS
GTAGS GTAGS
*.orig
*~
\#*#

Loading…
Cancel
Save