summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-10-10 11:28:31 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-10-10 20:25:51 +0200
commit88283b87f90d0b1d37323a82978234075eb9a78f (patch)
tree7110ddbdb8c8d9a74c0e926da3c636d9532e3e08 /scripts
parentd8cd44c47b8a6e1124d162c40405e9be48b0f183 (diff)
downloadptxdist-88283b87f90d0b1d37323a82978234075eb9a78f.tar.gz
ptxdist-88283b87f90d0b1d37323a82978234075eb9a78f.tar.xz
ptxd_lib_dgen: make sure the package license report is regenerated as needed
Add the dependency on the cfghash for <pkg>.report as well to ensure that changes to <PKG>_LICENSE* are noticed. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/ptxd_lib_dgen.awk5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_lib_dgen.awk b/scripts/lib/ptxd_lib_dgen.awk
index de5a26b02..0aa1901f0 100644
--- a/scripts/lib/ptxd_lib_dgen.awk
+++ b/scripts/lib/ptxd_lib_dgen.awk
@@ -405,9 +405,12 @@ function write_deps_pkg_active(this_PKG, this_pkg, prefix) {
print "$(STATEDIR)/" this_pkg ".extract: " "$(STATEDIR)/" this_pkg ".get" > DGEN_DEPS_POST;
print "$(STATEDIR)/" this_pkg ".extract.post: " "$(STATEDIR)/" this_pkg ".extract" > DGEN_DEPS_POST;
print "$(STATEDIR)/" this_pkg ".prepare: " "$(STATEDIR)/" this_pkg ".extract.post" > DGEN_DEPS_POST;
- if (DIRTY != "true")
+ if (DIRTY != "true") {
print "$(STATEDIR)/" this_pkg ".prepare: " \
"$(STATEDIR)/" this_pkg ".$(" this_PKG "_CFGHASH).cfghash" > DGEN_DEPS_POST;
+ print "$(STATEDIR)/" this_pkg ".report: " \
+ "$(STATEDIR)/" this_pkg ".$(" this_PKG "_CFGHASH).cfghash" > DGEN_DEPS_POST;
+ }
print "$(STATEDIR)/" this_pkg ".tags: " "$(STATEDIR)/" this_pkg ".prepare" > DGEN_DEPS_POST;
print "$(STATEDIR)/" this_pkg ".compile: " "$(STATEDIR)/" this_pkg ".prepare" > DGEN_DEPS_POST;
print "$(STATEDIR)/" this_pkg ".install: " "$(STATEDIR)/" this_pkg ".compile" > DGEN_DEPS_POST;