diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-07-24 10:09:18 -0700 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-08-02 18:29:32 -0400 |
commit | cc4f427bbd7192b602310ee27ee34e3bfe81608b (patch) | |
tree | 18f0a2c82ed89dd5e925a1c2ec2fa437cda9bdad /.gitignore | |
parent | 6697d558623d2a3d28c9fc5a0b104ade39c51832 (diff) | |
download | u-boot-cc4f427bbd7192b602310ee27ee34e3bfe81608b.tar.gz |
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>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 771b860ee8..43e957ac0b 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,7 @@ *.patch *.bin *.cfgtmp +*.dts.tmp # Build tree /build-* |