diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-01-10 19:27:52 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2012-01-14 17:47:37 -0500 |
commit | 136ec2049fea65aed0446d04ab7cfff2ae3070f1 (patch) | |
tree | 03a8b0bc6775757b9e83cb9029a913a6e64cfdc9 /scripts/dtc/srcpos.h | |
parent | 5bb0571bfddcdcd3fbf42a58fcce4d0b743fe62f (diff) |
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>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/dtc/srcpos.h')
-rw-r--r-- | scripts/dtc/srcpos.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/dtc/srcpos.h b/scripts/dtc/srcpos.h index bd7966e56a5..ce980cafe58 100644 --- a/scripts/dtc/srcpos.h +++ b/scripts/dtc/srcpos.h | |||
@@ -30,6 +30,7 @@ struct srcfile_state { | |||
30 | struct srcfile_state *prev; | 30 | struct srcfile_state *prev; |
31 | }; | 31 | }; |
32 | 32 | ||
33 | extern FILE *depfile; /* = NULL */ | ||
33 | extern struct srcfile_state *current_srcfile; /* = NULL */ | 34 | extern struct srcfile_state *current_srcfile; /* = NULL */ |
34 | 35 | ||
35 | FILE *srcfile_relative_open(const char *fname, char **fullnamep); | 36 | FILE *srcfile_relative_open(const char *fname, char **fullnamep); |