summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_lib_dgen.awk
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-12-17 18:09:43 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-12-17 18:09:46 +0100
commit8a0c240af0c9da4d78fa2165d9a03d5d69859260 (patch)
tree58a1f3c6e2545b5d6f892f38a74e1dd3d725ae8c /scripts/lib/ptxd_lib_dgen.awk
parent480a772e5fd4a72e1ec5e0f0af49688fd715a0a2 (diff)
downloadptxdist-8a0c240af0c9da4d78fa2165d9a03d5d69859260.tar.gz
ptxdist-8a0c240af0c9da4d78fa2165d9a03d5d69859260.tar.xz
ptxd_lib_dgen: define <PKG>_SOURCES and use it in export_src
this is needed to copy multiple archives per package in export_src 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.awk3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_lib_dgen.awk b/scripts/lib/ptxd_lib_dgen.awk
index ac45d794a..d5b9a2b5b 100644
--- a/scripts/lib/ptxd_lib_dgen.awk
+++ b/scripts/lib/ptxd_lib_dgen.awk
@@ -216,10 +216,11 @@ function write_vars_pkg_all(this_PKG, this_pkg, prefix) {
this_devpkg = "$(" this_PKG ")-$(PTXCONF_ARCH_STRING)-$(" this_PKG "_CFGHASH)-dev.tar.gz"
#
- # define ${PKG}_PKGDIR & ${PKG}_DEVPKG
+ # define ${PKG}_PKGDIR, ${PKG}_DEVPKG & ${PKG}_SOURCES
#
print this_PKG "_PKGDIR = $(PKGDIR)/" prefix "$(" this_PKG ")" > DGEN_DEPS_PRE;
print this_PKG "_DEVPKG = " prefix this_devpkg > DGEN_DEPS_PRE;
+ print this_PKG "_SOURCES = $(" this_PKG "_SOURCE)" > DGEN_DEPS_PRE
target_PKG = gensub(/^HOST_|^CROSS_/, "", "", this_PKG);
PREFIX = gensub(/^(HOST_|CROSS_).*/, "\\1", "", this_PKG);