summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_lib_dgen.awk
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-06-14 13:26:26 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-06-14 13:35:15 +0200
commit67812858370d43ef99e6d7ed50363a382ac75d40 (patch)
tree9fd9061c7064e811a2696c831e69254aa1e7da55 /scripts/lib/ptxd_lib_dgen.awk
parentafbfcb34826d8f710bcc1bfb725b333510a33217 (diff)
downloadptxdist-67812858370d43ef99e6d7ed50363a382ac75d40.tar.gz
ptxdist-67812858370d43ef99e6d7ed50363a382ac75d40.tar.xz
ptxd_lib_dgen: fix image 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.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 8c957e140..04cbee26a 100644
--- a/scripts/lib/ptxd_lib_dgen.awk
+++ b/scripts/lib/ptxd_lib_dgen.awk
@@ -336,7 +336,10 @@ function write_deps_pkg_active_image(this_PKG, this_pkg, prefix) {
n = split(this_PKG_DEPS, this_DEP_array, " ");
for (i = 1; i <= n; i++) {
this_dep = PKG_to_pkg[this_DEP_array[i]]
- print "$(" this_PKG "_IMAGE): " "$(STATEDIR)/" this_dep ".targetinstall.post" > DGEN_DEPS_POST;
+ if (this_pkg_prefix == "")
+ print "$(" this_PKG "_IMAGE): " "$(STATEDIR)/" this_dep ".targetinstall.post" > DGEN_DEPS_POST;
+ else
+ print "$(" this_PKG "_IMAGE): " "$(STATEDIR)/" this_dep ".install.post" > DGEN_DEPS_POST;
}
}