Follow Linux commit
1377dd3e2987 (".gitignore: sort normal pattern
rules alphabetically").
This would allow us to easily catch duplicated patterns if any.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
# subdirectories here. Add them in the ".gitignore" file
# in that subdirectory instead.
#
-# Normal rules
+# Normal rules (sorted alphabetically)
#
.*
-*.o
-*.o.*
*.a
-*.s
-*.su
-*.mod.c
+*.bin
+*.cfgtmp
+*.elf
+*.exe
+*.gcda
+*.gcno
*.i
*.lex.c
*.lst
+*.mod.c
+*.o
+*.o.*
*.order
-*.elf
-*.swp
-*.bin
*.patch
-*.cfgtmp
+*.s
+*.su
+*.swp
*.tab.[ch]
-# host programs on Cygwin
-*.exe
-
# Build tree
/build-*
*.orig
*~
\#*#
-
-# gcc code coverage files
-*.gcda
-*.gcno