From patchwork Mon Sep 12 20:11:58 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angus Ainslie X-Patchwork-Id: 114417 X-Patchwork-Delegate: promsoft@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id C1283B6F9A for ; Tue, 13 Sep 2011 06:12:41 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C7F52281FB; Mon, 12 Sep 2011 22:12:37 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l9an5odUE5xc; Mon, 12 Sep 2011 22:12:37 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 42AF9281EC; Mon, 12 Sep 2011 22:12:35 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3CF49281EC for ; Mon, 12 Sep 2011 22:12:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5M9eCQJko7yJ for ; Mon, 12 Sep 2011 22:12:31 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pz0-f41.google.com (mail-pz0-f41.google.com [209.85.210.41]) by theia.denx.de (Postfix) with ESMTPS id 48629281E7 for ; Mon, 12 Sep 2011 22:12:29 +0200 (CEST) Received: by pzk4 with SMTP id 4so9101035pzk.28 for ; Mon, 12 Sep 2011 13:12:27 -0700 (PDT) Received: by 10.68.1.138 with SMTP id 10mr1899788pbm.138.1315858347519; Mon, 12 Sep 2011 13:12:27 -0700 (PDT) Received: from builder.akkea.ca (S0106c43dc79ddf87.cg.shawcable.net. [70.73.137.251]) by mx.google.com with ESMTPS id h5sm45598080pbq.11.2011.09.12.13.12.25 (version=SSLv3 cipher=OTHER); Mon, 12 Sep 2011 13:12:26 -0700 (PDT) From: Angus Ainslie To: u-boot@lists.denx.de Date: Mon, 12 Sep 2011 14:11:58 -0600 Message-Id: <1315858318-19571-1-git-send-email-angus.ainslie@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1315605529-1989-1-git-send-email-angus.ainslie@linaro.org> References: <1315605529-1989-1-git-send-email-angus.ainslie@linaro.org> Cc: linaro-dev@lists.linaro.org, bjlee@samsung.com, patches@linaro.org, mk7.kang@samsung.com, samsung@lists.linaro.org Subject: [U-Boot] [PATCH v2] ORIGEN : use absolute paths and fix tool naming X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de On some hosts using relative paths will cause the build to fail. This patch sets absolute paths for the tools directory Get rid of MSDOS style excecutable extension Signed-off-by: Angus Ainslie --- board/samsung/origen/Makefile | 6 +++--- spl/Makefile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/board/samsung/origen/Makefile b/board/samsung/origen/Makefile index f5c6507..76a359c 100644 --- a/board/samsung/origen/Makefile +++ b/board/samsung/origen/Makefile @@ -41,7 +41,7 @@ OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS)) ALL +=$(obj).depend $(LIB) ifdef CONFIG_SPL_BUILD -ALL += tools/mk$(BOARD)spl.exe +ALL += $(OBJTREE)/tools/mk$(BOARD)spl endif all: $(ALL) @@ -50,8 +50,8 @@ $(LIB): $(OBJS) $(AR) $(ARFLAGS) $@ $(OBJS) ifdef CONFIG_SPL_BUILD -tools/mk$(BOARD)spl.exe: tools/mkv310_image.c - $(HOSTCC) tools/mkv310_image.c -o tools/mk$(BOARD)spl.exe +$(OBJTREE)/tools/mk$(BOARD)spl: tools/mkv310_image.c + $(HOSTCC) tools/mkv310_image.c -o $(OBJTREE)/tools/mk$(BOARD)spl endif ######################################################################### diff --git a/spl/Makefile b/spl/Makefile index 95ecce1..dc3f4be 100644 --- a/spl/Makefile +++ b/spl/Makefile @@ -101,7 +101,7 @@ all: $(ALL-y) ifdef CONFIG_SAMSUNG $(obj)$(BOARD)-spl.bin: $(obj)u-boot-spl.bin - $(TOPDIR)/board/$(BOARDDIR)/tools/mk$(BOARD)spl.exe \ + $(OBJTREE)/tools/mk$(BOARD)spl \ $(obj)u-boot-spl.bin $(obj)$(BOARD)-spl.bin endif