From: Maxime Hadjinlian Date: Tue, 4 Jul 2017 16:22:02 +0000 (+0200) Subject: pkg-generic: make PKG_DL_DIR equal to DL_DIR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=827fa4f917b1b4abc126e22631d0b98dd2293aed;p=buildroot.git pkg-generic: make PKG_DL_DIR equal to DL_DIR This variable is currently not used by anyone. The value is changed to match the path to DL_DIR. The next patch will introduce the use of PKG_DL_DIR for packages that use specific EXTRACT_CMDS. And then we will be able to change the value of PKG_DL_DIR to create a new directory structure in DL_DIR with a subdirectory for each package. Signed-off-by: Maxime Hadjinlian Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index b2b3af7d8f..130fd67560 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -434,7 +434,7 @@ endif $(2)_BASE_NAME = $$(if $$($(2)_VERSION),$(1)-$$($(2)_VERSION),$(1)) $(2)_RAW_BASE_NAME = $$(if $$($(2)_VERSION),$$($(2)_RAWNAME)-$$($(2)_VERSION),$$($(2)_RAWNAME)) -$(2)_DL_DIR = $$(DL_DIR)/$$($(2)_BASE_NAME) +$(2)_DL_DIR = $$(DL_DIR) $(2)_DIR = $$(BUILD_DIR)/$$($(2)_BASE_NAME) ifndef $(2)_SUBDIR