dtc: Implement -d option to write out a dependency file
Quoted 15 lines
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 <[email protected]>Acked-by David Gibson <[email protected]>---
v2: Replaced fputs/fputc with fprintf.
v2 repost: Add David's ack.This patch is for the dtc repository. I'm reposting it because Jon said it didn't make it directly to him the first time around. Ah, now I see the email issue; NVIDIA started publishing SPF records and I was using my nvidia.com email address but sending through my own email servers. I've fixed that, so hopefully this message will go through.
Quoted 14 lines
Documentation/manual.txt | 3 +++ dtc.c | 20 +++++++++++++++++++- srcpos.c | 4 ++++ srcpos.h | 1 + tests/dependencies.cmp | 1 + tests/dependencies.dts | 6 ++++++ tests/deps_inc1.dtsi | 1 + tests/deps_inc2.dtsi | 1 + tests/run_tests.sh | 4 ++++ 9 files changed, 40 insertions(+), 1 deletions(-) create mode 100644 tests/dependencies.cmp create mode 100644 tests/dependencies.dts create mode 100644 tests/deps_inc1.dtsi create mode 100644 tests/deps_inc2.dtsi
And applied finally.
jdl