diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-11-28 14:57:03 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-11-29 10:24:18 +0100 |
commit | 7770b27146e19f3bc420dfa2146b78fd3d0c2c5c (patch) | |
tree | 9e4c7491bfa75994c78ff49247799f554dfea6ef /scripts | |
parent | 40e575e003c035e20614e45172af7bbe933ce1ee (diff) | |
download | ptxdist-7770b27146e19f3bc420dfa2146b78fd3d0c2c5c.tar.gz ptxdist-7770b27146e19f3bc420dfa2146b78fd3d0c2c5c.tar.xz |
ptxd_lib_dgen: generate tarball -> package mappings with the dependencies
This avoids "error: empty parameter to 'ptxd_make_get'" errors ptxdist
tries to download a package that is not selected.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/ptxd_lib_dgen.awk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/ptxd_lib_dgen.awk b/scripts/lib/ptxd_lib_dgen.awk index f9c2d1c85..d34550806 100644 --- a/scripts/lib/ptxd_lib_dgen.awk +++ b/scripts/lib/ptxd_lib_dgen.awk @@ -309,6 +309,7 @@ function write_deps_pkg_active(this_PKG, this_pkg, prefix) { # # default deps # + print "$(if $(" this_PKG "_SOURCE),$(eval $(" this_PKG "_SOURCE) := " this_PKG "))" > DGEN_DEPS_POST; print "$(foreach src,$(" this_PKG "_SOURCES)," \ "$(eval $(STATEDIR)/" this_pkg ".get:" "$(STATEDIR)/" this_pkg ".$(notdir $(src)).stamp))" > DGEN_DEPS_POST; print "$(STATEDIR)/" this_pkg ".extract: " "$(STATEDIR)/" this_pkg ".get" > DGEN_DEPS_POST; |