From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from webbox1416.server-home.net ([77.236.96.61]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YDZrM-000708-0O for ptxdist@pengutronix.de; Tue, 20 Jan 2015 15:32:48 +0100 Received: from imapserver.systec-electronic.com (unknown [212.185.67.146]) by webbox1416.server-home.net (Postfix) with ESMTPA id B9C2D27A5C8 for ; Tue, 20 Jan 2015 15:32:47 +0100 (CET) From: Alexander Stein Date: Tue, 20 Jan 2015 15:34:04 +0100 Message-Id: <1421764444-20622-1-git-send-email-alexander.stein@systec-electronic.com> Subject: [ptxdist] [PATCH v2 1/1] u-boot-tools: Fix build dir Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de 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 --- 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