From 5d5881ffd1b01482ccdd98a99b8cd08f6b673383 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Mon, 20 May 2019 20:55:10 +0200 Subject: ptxd_lib_dgen: handle config changes when using devpkgs Then devpkgs exist for two different configurations, then switching between them then the .install.unpack stage will not be triggered again, because the tarball is older. Fix this by adding a extra dependency on .cfghash to handle this the same way as the normal build. Signed-off-by: Michael Olbrich --- scripts/lib/ptxd_lib_dgen.awk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/lib/ptxd_lib_dgen.awk') diff --git a/scripts/lib/ptxd_lib_dgen.awk b/scripts/lib/ptxd_lib_dgen.awk index 4688461a6..f21811be5 100644 --- a/scripts/lib/ptxd_lib_dgen.awk +++ b/scripts/lib/ptxd_lib_dgen.awk @@ -382,6 +382,9 @@ function write_deps_pkg_active(this_PKG, this_pkg, prefix) { print "ifeq ($(strip $(wildcard $(PTXDIST_DEVPKG_PLATFORMDIR)/$(" this_PKG "_DEVPKG))),)" > DGEN_DEPS_POST; print "$(STATEDIR)/" this_pkg ".install.post: " "$(STATEDIR)/" this_pkg ".install.pack" > DGEN_DEPS_POST; print "else" > DGEN_DEPS_POST; + if (DIRTY != "true") + print "$(STATEDIR)/" this_pkg ".install.unpack: " \ + "$(STATEDIR)/" this_pkg ".$(" this_PKG "_CFGHASH).cfghash" > DGEN_DEPS_POST; print "$(STATEDIR)/" this_pkg ".install.post: " "$(STATEDIR)/" this_pkg ".install.unpack" > DGEN_DEPS_POST; print "endif" > DGEN_DEPS_POST; if (prefix == "") { -- cgit v1.2.3