summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_lib_dgen.awk
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-07-02 18:36:48 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-07-02 18:36:51 +0200
commitf8dda20b59a5adb515e024a5b62d714483373b0e (patch)
treefedbc12810cb33b051b5f89960966131d038e835 /scripts/lib/ptxd_lib_dgen.awk
parent2524d88cb7132482c9949f076d8733a50325ebe8 (diff)
downloadptxdist-f8dda20b59a5adb515e024a5b62d714483373b0e.tar.gz
ptxdist-f8dda20b59a5adb515e024a5b62d714483373b0e.tar.xz
ptxd_lib_dgen: image-<pkg>.install.post should depend on $(<PKG>_IMAGE)
Otherwise selecting other images will not produce the correct dependencies. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_lib_dgen.awk')
-rw-r--r--scripts/lib/ptxd_lib_dgen.awk1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/ptxd_lib_dgen.awk b/scripts/lib/ptxd_lib_dgen.awk
index 04cbee26a..b3ad35382 100644
--- a/scripts/lib/ptxd_lib_dgen.awk
+++ b/scripts/lib/ptxd_lib_dgen.awk
@@ -328,6 +328,7 @@ function write_deps_pkg_active_image(this_PKG, this_pkg, prefix) {
print "$(" this_PKG "_IMAGE): " \
"$(addprefix $(STATEDIR)/,$(addsuffix .targetinstall.post,$(" this_PKG "_PKGS)))" > DGEN_DEPS_POST;
print "$(" this_PKG "_IMAGE): " "$(" this_PKG "_FILES)" > DGEN_DEPS_POST;
+ print "$(STATEDIR)/" this_pkg ".install.post: " "$(" this_PKG "_IMAGE)" > DGEN_DEPS_POST;
print "images: " "$(" this_PKG "_IMAGE)" > DGEN_DEPS_POST;
#
# add dep to pkgs we depend on