summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_lib_dgen.awk
diff options
context:
space:
mode:
authorJuergen Borleis <jbe@pengutronix.de>2017-12-04 10:45:54 +0100
committerJuergen Borleis <jbe@pengutronix.de>2017-12-04 10:46:05 +0100
commitf4a1f993efa5e62bf4ccec2c955a576a0adb56d1 (patch)
treee50029064e9996eb400c80c7afed61a5c815356b /scripts/lib/ptxd_lib_dgen.awk
parent10a929bba1313c8b30fcbc89325ae234e6bd1fb4 (diff)
downloadptxdist-f4a1f993efa5e62bf4ccec2c955a576a0adb56d1.tar.gz
ptxdist-f4a1f993efa5e62bf4ccec2c955a576a0adb56d1.tar.xz
License report: provide package version for host tools
For host packages sharing the archive information with a target package the version must be transformed for the host part as well. Signed-off-by: Juergen Borleis <jbe@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 af33733ad..dcc55b4a8 100644
--- a/scripts/lib/ptxd_lib_dgen.awk
+++ b/scripts/lib/ptxd_lib_dgen.awk
@@ -280,6 +280,7 @@ function write_vars_pkg_all(this_PKG, this_pkg, prefix) {
# define default ${PKG}, ${PKG}_SOURCE, ${PKG}_DIR
if ((prefix != "") && (target_PKG in PKG_to_pkg)) {
print this_PKG " = $(" target_PKG ")" > DGEN_DEPS_PRE;
+ print this_PKG "_VERSION = $(" target_PKG "_VERSION)" > DGEN_DEPS_PRE;
print this_PKG "_MD5 = $(" target_PKG "_MD5)" > DGEN_DEPS_PRE;
print this_PKG "_SOURCE = $(" target_PKG "_SOURCE)" > DGEN_DEPS_PRE;
print this_PKG "_URL = $(" target_PKG "_URL)" > DGEN_DEPS_PRE;