mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-27 04:18:51 +09:00
![Stephen Warren](/assets/img/avatar_default.png)
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>
92 lines
926 B
Plaintext
92 lines
926 B
Plaintext
#
|
|
# NOTE! Don't add files that are generated in specific
|
|
# subdirectories here. Add them in the ".gitignore" file
|
|
# in that subdirectory instead.
|
|
#
|
|
# Normal rules
|
|
#
|
|
|
|
*.rej
|
|
*.orig
|
|
*.a
|
|
*.o
|
|
*.su
|
|
*~
|
|
*.swp
|
|
*.patch
|
|
*.bin
|
|
*.cfgtmp
|
|
*.dts.tmp
|
|
|
|
# Build tree
|
|
/build-*
|
|
|
|
#
|
|
# Top-level generic files
|
|
#
|
|
|
|
/MLO
|
|
/SPL
|
|
/System.map
|
|
/u-boot
|
|
/u-boot.hex
|
|
/u-boot.imx
|
|
/u-boot-with-spl.imx
|
|
/u-boot-with-nand-spl.imx
|
|
/u-boot.map
|
|
/u-boot.srec
|
|
/u-boot.ldr
|
|
/u-boot.ldr.hex
|
|
/u-boot.ldr.srec
|
|
/u-boot.img
|
|
/u-boot.kwb
|
|
/u-boot.sha1
|
|
/u-boot.dis
|
|
/u-boot.lds
|
|
/u-boot.ubl
|
|
/u-boot.ais
|
|
/u-boot.dtb
|
|
/u-boot.sb
|
|
/u-boot.bd
|
|
/u-boot.geany
|
|
|
|
#
|
|
# Generated files
|
|
#
|
|
|
|
*.depend*
|
|
/LOG
|
|
/errlog
|
|
/reloc_off
|
|
|
|
/include/generated/
|
|
asm-offsets.s
|
|
|
|
# stgit generated dirs
|
|
patches-*
|
|
.stgit-edit.txt
|
|
|
|
# quilt's files
|
|
patches
|
|
series
|
|
|
|
# gdb files
|
|
.gdb_history
|
|
|
|
# cscope files
|
|
cscope.*
|
|
|
|
# tags files
|
|
/tags
|
|
/ctags
|
|
/etags
|
|
|
|
# gnu global files
|
|
GPATH
|
|
GRTAGS
|
|
GSYMS
|
|
GTAGS
|
|
|
|
# spl ais files
|
|
/spl/*.ais
|