.gitignore: ingore files generated by Kbuild
[oweals/u-boot.git] / .gitignore
1 #
2 # NOTE! Don't add files that are generated in specific
3 # subdirectories here. Add them in the ".gitignore" file
4 # in that subdirectory instead.
5 #
6 # Normal rules
7 #
8 .*
9 *.o
10 *.o.*
11 *.a
12 *.s
13 *.su
14 *.mod.c
15 *.i
16 *.lst
17 *.order
18 *.elf
19 *.swp
20 *.bin
21 *.patch
22 *.cfgtmp
23 *.dts.tmp
24
25 # Build tree
26 /build-*
27
28 #
29 # Top-level generic files
30 #
31 /MLO*
32 /SPL
33 /System.map
34 /u-boot
35 /u-boot.hex
36 /u-boot.imx
37 /u-boot-with-spl.imx
38 /u-boot-with-nand-spl.imx
39 /u-boot.map
40 /u-boot.srec
41 /u-boot.ldr
42 /u-boot.ldr.hex
43 /u-boot.ldr.srec
44 /u-boot.img
45 /u-boot.kwb
46 /u-boot.sha1
47 /u-boot.dis
48 /u-boot.lds
49 /u-boot.ubl
50 /u-boot.ais
51 /u-boot.dtb
52 /u-boot.sb
53
54 #
55 # git files that we don't want to ignore even it they are dot-files
56 #
57 !.gitignore
58 !.mailmap
59
60 #
61 # Generated files
62 #
63
64 *.depend*
65 /LOG
66 /errlog
67 /reloc_off
68
69 !/spl/Makefile
70 /spl/*
71 /tpl/
72
73 /include/generated/
74 /include/spl-autoconf.mk
75 /include/tpl-autoconf.mk
76
77 # stgit generated dirs
78 patches-*
79 .stgit-edit.txt
80
81 # quilt's files
82 patches
83 series
84
85 # gdb files
86 .gdb_history
87
88 # cscope files
89 cscope.*
90
91 # tags files
92 /tags
93 /ctags
94 /etags
95
96 # gnu global files
97 GPATH
98 GRTAGS
99 GSYMS
100 GTAGS
101
102 *.orig
103 *~
104 \#*#