mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v2 1/1] u-boot-tools: Fix build dir
@ 2015-01-20 14:34 Alexander Stein
  0 siblings, 0 replies; only message in thread
From: Alexander Stein @ 2015-01-20 14:34 UTC (permalink / raw)
  To: ptxdist; +Cc: Alexander Stein

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>
---
Changes in v2:
* Posted correct patch now

 rules/u-boot-tools.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/u-boot-tools.make b/rules/u-boot-tools.make
index 350175a..907cf15 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
 
 # ----------------------------------------------------------------------------
-- 
2.0.5


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-20 14:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-20 14:34 [ptxdist] [PATCH v2 1/1] u-boot-tools: Fix build dir Alexander Stein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox