summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@systec-electronic.com>2015-01-20 15:34:04 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-01-20 19:00:09 +0100
commit5e5578c384915da6d21d48409fa02fe9db9c167c (patch)
treede5f6a67f63b1be5d6fca27b16f7c8ef38be18ab
parent8222dbe4ed024bb59db40fdf40fef0ce1e25d8b8 (diff)
downloadptxdist-2015.01.0.tar.gz
ptxdist-2015.01.0.tar.xz
u-boot-tools: Fix build dirptxdist-2015.01.0
The build directory should be u-boot-tools-$version. Otherwise the build interferes with u-boot itself if they both have the same version. This can be reproduced by the following steps: ptxdist clean u-boot ptxdist clean u-boot-tools ptxdist compile u-boot ptxdist targetinstall u-boot-tools ptxdist targetinstall u-boot Now there is the follwing error: install: cannot stat 'platform/build-target/u-boot-2014.07/u-boot.bin': No such file or directory Fix this by using a separate directory for u-boot tools. Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/u-boot-tools.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/u-boot-tools.make b/rules/u-boot-tools.make
index 350175aeb..907cf15fe 100644
--- a/rules/u-boot-tools.make
+++ b/rules/u-boot-tools.make
@@ -22,7 +22,7 @@ U_BOOT_TOOLS := u-boot-$(U_BOOT_TOOLS_VERSION)
U_BOOT_TOOLS_SUFFIX := tar.bz2
U_BOOT_TOOLS_URL := http://ftp.denx.de/pub/u-boot/$(U_BOOT_TOOLS).$(U_BOOT_TOOLS_SUFFIX)
U_BOOT_TOOLS_SOURCE := $(SRCDIR)/$(U_BOOT_TOOLS).$(U_BOOT_TOOLS_SUFFIX)
-U_BOOT_TOOLS_DIR := $(BUILDDIR)/$(U_BOOT_TOOLS)
+U_BOOT_TOOLS_DIR := $(BUILDDIR)/u-boot-tools-$(U_BOOT_TOOLS_VERSION)
U_BOOT_TOOLS_LICENSE := GPLv2
# ----------------------------------------------------------------------------