summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2014-07-01 00:26:20 +0200
committerPeter Korsgaard <peter@korsgaard.com>2014-07-02 17:16:14 +0200
commit2d4fd5d358966b9959a0ea9f93daa3a08c6068e7 (patch)
treea9d0ef278306c0c4fa32e682a7af860efd8b8ed5
parent48cb42e7346a6ef30a32a1924b4e5a6705322f81 (diff)
downloadbuildroot-2d4fd5d358966b9959a0ea9f93daa3a08c6068e7.tar.gz
buildroot-2d4fd5d358966b9959a0ea9f93daa3a08c6068e7.zip
pkg-infra: also set PKGDIR for the download step
This will be needed to get the hash file, to check the downloaded files. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/pkg-generic.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index 54193d25a2..ab1f8d2ca1 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -602,6 +602,7 @@ $$($(2)_TARGET_PATCH): RAWNAME=$$(patsubst host-%,%,$(1))
$$($(2)_TARGET_PATCH): PKGDIR=$(pkgdir)
$$($(2)_TARGET_EXTRACT): PKG=$(2)
$$($(2)_TARGET_SOURCE): PKG=$(2)
+$$($(2)_TARGET_SOURCE): PKGDIR=$(pkgdir)
$$($(2)_TARGET_DIRCLEAN): PKG=$(2)
# Compute the name of the Kconfig option that correspond to the
OpenPOWER on IntegriCloud