[PATCH V2 REPOST] dtc: Implement -d option to write out a dependency file

Jon Loeliger jdl at jdl.com
Sat Jan 14 00:25:55 EST 2012


> 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 at nvidia.com>
> Acked-by: David Gibson <david at gibson.dropbear.id.au>
> ---
> 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.
> 
>  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


More information about the devicetree-discuss mailing list