diff options
Diffstat (limited to 'scripts/lib/ptxd_lib_dgen.awk')
-rw-r--r-- | scripts/lib/ptxd_lib_dgen.awk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/lib/ptxd_lib_dgen.awk b/scripts/lib/ptxd_lib_dgen.awk index 00b985a5d..ac45d794a 100644 --- a/scripts/lib/ptxd_lib_dgen.awk +++ b/scripts/lib/ptxd_lib_dgen.awk @@ -343,6 +343,13 @@ function write_deps_pkg_active_image(this_PKG, this_pkg, prefix) { else print "$(" this_PKG "_IMAGE): " "$(STATEDIR)/" this_dep ".install.post" > DGEN_DEPS_POST; } + # + # images don't depend on world, so this is needed to extract the packages + # + print "ifneq ($(strip $(" this_PKG "_PKGS)),)" > DGEN_DEPS_POST + print "$(" this_PKG "_IMAGE):" " \ + $(STATEDIR)/host-$(call remove_quotes,$(PTXCONF_HOST_PACKAGE_MANAGEMENT)).install.post" > DGEN_DEPS_POST + print "endif" > DGEN_DEPS_POST } END { |