mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Stein <alexander.stein@systec-electronic.com>
To: ptxdist@pengutronix.de
Cc: Alexander Stein <alexander.stein@systec-electronic.com>
Subject: [ptxdist] [PATCH 1/1] u-boot-tools: Fix build dir
Date: Tue, 20 Jan 2015 15:28:52 +0100	[thread overview]
Message-ID: <1421764132-20391-1-git-send-email-alexander.stein@systec-electronic.com> (raw)

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>
---
 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..4037e4e 100644
--- a/rules/u-boot-tools.make
+++ b/rules/u-boot-tools.make
@@ -18,7 +18,7 @@ PACKAGES-$(PTXCONF_U_BOOT_TOOLS) += u-boot-tools
 #
 U_BOOT_TOOLS_VERSION	:= 2014.07
 U_BOOT_TOOLS_MD5	:= 36d4bad687edcafa396fee607e505d4e
-U_BOOT_TOOLS		:= u-boot-$(U_BOOT_TOOLS_VERSION)
+U_BOOT_TOOLS		:= u-boot-tools-$(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)
-- 
2.0.5


-- 
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2015-01-20 14:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1421764132-20391-1-git-send-email-alexander.stein@systec-electronic.com \
    --to=alexander.stein@systec-electronic.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox