2007-12-09 19:01:10 +09:00
|
|
|
#
|
|
|
|
# NOTE! Don't add files that are generated in specific
|
|
|
|
# subdirectories here. Add them in the ".gitignore" file
|
|
|
|
# in that subdirectory instead.
|
|
|
|
#
|
|
|
|
# Normal rules
|
|
|
|
#
|
2014-02-04 17:24:08 +09:00
|
|
|
.*
|
2007-09-25 00:05:30 +09:00
|
|
|
*.o
|
2014-02-04 17:24:08 +09:00
|
|
|
*.o.*
|
|
|
|
*.a
|
|
|
|
*.s
|
2012-02-14 16:29:36 +09:00
|
|
|
*.su
|
2014-02-04 17:24:08 +09:00
|
|
|
*.mod.c
|
|
|
|
*.i
|
|
|
|
*.lst
|
|
|
|
*.order
|
|
|
|
*.elf
|
2008-09-10 00:31:46 +09:00
|
|
|
*.swp
|
2011-05-21 00:33:47 +09:00
|
|
|
*.bin
|
2014-02-04 17:24:08 +09:00
|
|
|
*.patch
|
2013-01-19 01:14:24 +09:00
|
|
|
*.cfgtmp
|
dts/Makefile: simplify dtc invocation
The invocation of dtc is significantly more complex that it could be,
in order to work around an issue on old versions of dtc, which print
a message to stdout every time they run.
Remove this workaround, on the assumption that people have or will
upgrade to a newer version of dtc. This simplifies the build rule
significantly.
Related, split the invocation of cpp and dtc into separate commands
rather than a pipeline, so that if either fail, it is detected. This has
the nice benefit of saving off the result of the pre-processing step,
allowing it to be easily inspected.
Assuming a new enough dtc (which an earlier patch enforces), dtc will
parse #line directives in its input file, and generate correct file and
line numbers in error messages, even though cpp is unconditionally
applied to its input file.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
2013-07-25 02:09:18 +09:00
|
|
|
*.dts.tmp
|
2007-12-09 19:01:10 +09:00
|
|
|
|
2012-04-12 08:33:49 +09:00
|
|
|
# Build tree
|
|
|
|
/build-*
|
|
|
|
|
2007-12-09 19:01:10 +09:00
|
|
|
#
|
|
|
|
# Top-level generic files
|
|
|
|
#
|
2013-07-11 22:55:01 +09:00
|
|
|
/MLO*
|
2013-04-11 18:35:55 +09:00
|
|
|
/SPL
|
2007-12-09 19:01:10 +09:00
|
|
|
/System.map
|
2014-02-20 17:43:07 +09:00
|
|
|
/u-boot*
|
2007-12-09 19:01:10 +09:00
|
|
|
|
2014-02-04 17:24:08 +09:00
|
|
|
#
|
|
|
|
# git files that we don't want to ignore even it they are dot-files
|
|
|
|
#
|
|
|
|
!.gitignore
|
|
|
|
!.mailmap
|
|
|
|
|
2007-12-09 19:01:10 +09:00
|
|
|
#
|
|
|
|
# Generated files
|
|
|
|
#
|
|
|
|
|
2007-09-25 00:05:30 +09:00
|
|
|
/LOG
|
|
|
|
/errlog
|
|
|
|
/reloc_off
|
|
|
|
|
2013-11-26 18:05:45 +09:00
|
|
|
!/spl/Makefile
|
2014-01-17 02:23:28 +09:00
|
|
|
/spl/*
|
2013-11-26 18:05:45 +09:00
|
|
|
/tpl/
|
|
|
|
|
2014-03-10 10:47:19 +09:00
|
|
|
#
|
|
|
|
# Generated include files
|
|
|
|
#
|
|
|
|
/include/config/
|
2010-10-26 07:08:35 +09:00
|
|
|
/include/generated/
|
2013-10-14 00:08:02 +09:00
|
|
|
/include/spl-autoconf.mk
|
|
|
|
/include/tpl-autoconf.mk
|
2010-10-26 07:08:35 +09:00
|
|
|
|
2007-12-09 19:01:10 +09:00
|
|
|
# stgit generated dirs
|
|
|
|
patches-*
|
2008-04-12 21:08:45 +09:00
|
|
|
.stgit-edit.txt
|
2007-12-09 19:01:10 +09:00
|
|
|
|
|
|
|
# quilt's files
|
|
|
|
patches
|
|
|
|
series
|
|
|
|
|
2008-11-02 14:18:18 +09:00
|
|
|
# gdb files
|
|
|
|
.gdb_history
|
|
|
|
|
2007-12-09 19:01:10 +09:00
|
|
|
# cscope files
|
|
|
|
cscope.*
|
2008-08-06 21:05:38 +09:00
|
|
|
|
2008-09-10 00:31:46 +09:00
|
|
|
# tags files
|
2009-07-10 19:25:34 +09:00
|
|
|
/tags
|
2008-09-10 00:31:46 +09:00
|
|
|
/ctags
|
|
|
|
/etags
|
|
|
|
|
2013-05-13 03:14:05 +09:00
|
|
|
# gnu global files
|
|
|
|
GPATH
|
|
|
|
GRTAGS
|
|
|
|
GSYMS
|
|
|
|
GTAGS
|
2014-02-04 17:24:08 +09:00
|
|
|
|
|
|
|
*.orig
|
|
|
|
*~
|
|
|
|
\#*#
|