dtc: Implement -d option to write out a dependency file

This will allow callers to rebuild .dtb files when any of the /include/d
.dtsi files are modified, not just the top-level .dts file.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
Stephen Warren 2012-01-12 11:31:00 -07:00 committed by Jon Loeliger
parent 97b909f852
commit 69df9f0de2
9 changed files with 40 additions and 1 deletions

View file

@ -106,6 +106,9 @@ Options:
-O <output_format>
The generated output format, as listed above.
-d <dependency_filename>
Generate a dependency file during compilation.
-q
Quiet: -q suppress warnings, -qq errors, -qqq all