Skip to content

Commit

Permalink
.gitignore: ingore files generated by Kbuild
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
masahir0y authored and trini committed Feb 19, 2014
1 parent 56746d8 commit ea531e3
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,20 @@
#
# Normal rules
#

*.rej
*.orig
*.a
.*
*.o
*.o.*
*.a
*.s
*.su
*~
*.mod.c
*.i
*.lst
*.order
*.elf
*.swp
*.patch
*.bin
*.patch
*.cfgtmp
*.dts.tmp

Expand All @@ -24,12 +28,10 @@
#
# Top-level generic files
#

/MLO*
/SPL
/System.map
/u-boot
/u-boot.elf
/u-boot.hex
/u-boot.imx
/u-boot-with-spl.imx
Expand All @@ -49,6 +51,12 @@
/u-boot.dtb
/u-boot.sb

#
# git files that we don't want to ignore even it they are dot-files
#
!.gitignore
!.mailmap

#
# Generated files
#
Expand All @@ -65,7 +73,6 @@
/include/generated/
/include/spl-autoconf.mk
/include/tpl-autoconf.mk
asm-offsets.s

# stgit generated dirs
patches-*
Expand All @@ -91,3 +98,7 @@ GPATH
GRTAGS
GSYMS
GTAGS

*.orig
*~
\#*#

0 comments on commit ea531e3

Please sign in to comment.