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: 4035 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 58BB123EF9 for ; Mon, 12 Sep 2011 20:12:31 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id 4ABDAA18072 for ; Mon, 12 Sep 2011 20:12:31 +0000 (UTC) Received: by fxe23 with SMTP id 23so2352925fxe.11 for ; Mon, 12 Sep 2011 13:12:31 -0700 (PDT) Received: by 10.223.63.8 with SMTP id z8mr421136fah.84.1315858350464; Mon, 12 Sep 2011 13:12:30 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.11.8 with SMTP id m8cs12855lab; Mon, 12 Sep 2011 13:12:30 -0700 (PDT) Received: by 10.68.49.68 with SMTP id s4mr4265364pbn.348.1315858348805; Mon, 12 Sep 2011 13:12:28 -0700 (PDT) Received: from mail-pz0-f45.google.com (mail-pz0-f45.google.com [209.85.210.45]) by mx.google.com with ESMTPS id g1si16536727pbl.43.2011.09.12.13.12.27 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Sep 2011 13:12:28 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.210.45 is neither permitted nor denied by best guess record for domain of angus.ainslie@linaro.org) client-ip=209.85.210.45; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.45 is neither permitted nor denied by best guess record for domain of angus.ainslie@linaro.org) smtp.mail=angus.ainslie@linaro.org Received: by pzk33 with SMTP id 33so8244015pzk.32 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 Cc: wd@denx.de, bjlee@samsung.com, linaro-dev@lists.linaro.org, patches@linaro.org, mk7.kang@samsung.com, samsung@lists.linaro.org, Angus Ainslie Subject: [PATCH v2] ORIGEN : use absolute paths and fix tool naming 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> 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