summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2011-07-05 10:52:19 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-07-05 11:22:21 +0200
commit6b3b36cabba2a8bceb9c7bb1e5d0f425eaf59ba1 (patch)
treee166ce53f88a3863c62a8156cfb8cf6b366741bd
parentdf9ae5418f5d5fe415767f114a4442fad239f156 (diff)
downloadptxdist-6b3b36cabba2a8bceb9c7bb1e5d0f425eaf59ba1.tar.gz
ptxdist-6b3b36cabba2a8bceb9c7bb1e5d0f425eaf59ba1.tar.xz
dgen: default HOST_<PKG>_URL to <PKG>_URL
this fixes downloading host packages with corresponding target packages. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--scripts/lib/ptxd_lib_dgen.awk2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/ptxd_lib_dgen.awk b/scripts/lib/ptxd_lib_dgen.awk
index 406b54234..37ad3d007 100644
--- a/scripts/lib/ptxd_lib_dgen.awk
+++ b/scripts/lib/ptxd_lib_dgen.awk
@@ -250,6 +250,8 @@ function import_PKG(this_PKG, this_pkg) {
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;
print this_PKG "_DIR = $(addprefix $(" this_PKG_type \
"BUILDDIR)/,$(" target_PKG "))" > DGEN_DEPS_PRE;
}