[Buildroot] [PATCH] Makefile.package.in: Fixing problem with relative in BR2_DL_DIR

Allan W. Nielsen a at awn.dk
Tue May 10 09:32:53 UTC 2011


When using DOWNLOAD_GIT and BR2_DL_DIR is assigned to an relative path
build root will store the generated tar file in the wrong location

Signed-off-by: Allan W. Nielsen <a at awn.dk>
---
 package/Makefile.package.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/package/Makefile.package.in b/package/Makefile.package.in
index 1e87256..51d3341 100644
--- a/package/Makefile.package.in
+++ b/package/Makefile.package.in
@@ -84,6 +84,7 @@ DL_DIR=$(call qstrip,$(BR2_DL_DIR))
 ifeq ($(DL_DIR),)
 DL_DIR:=$(TOPDIR)/dl
 endif
+DL_DIR:=$(shell readlink -f $(DL_DIR))
 
 ################################################################################
 # The DOWNLOAD_{GIT,SVN,BZR} helpers are in charge of getting a
-- 
1.7.3.4




More information about the buildroot mailing list