From patchwork Fri Sep 9 21:58:49 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angus Ainslie X-Patchwork-Id: 4008 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 AB5DF23F9E for ; Fri, 9 Sep 2011 21:59:10 +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 90F1FA18120 for ; Fri, 9 Sep 2011 21:59:10 +0000 (UTC) Received: by fxd18 with SMTP id 18so4322280fxd.11 for ; Fri, 09 Sep 2011 14:59:10 -0700 (PDT) Received: by 10.223.47.67 with SMTP id m3mr628131faf.27.1315605550371; Fri, 09 Sep 2011 14:59:10 -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 m8cs28218lab; Fri, 9 Sep 2011 14:59:10 -0700 (PDT) Received: by 10.236.177.72 with SMTP id c48mr14866532yhm.79.1315605548681; Fri, 09 Sep 2011 14:59:08 -0700 (PDT) Received: from mail-gy0-f178.google.com (mail-gy0-f178.google.com [209.85.160.178]) by mx.google.com with ESMTPS id i43si6270202yhm.138.2011.09.09.14.59.06 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 09 Sep 2011 14:59:07 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.178 is neither permitted nor denied by best guess record for domain of angus.ainslie@linaro.org) client-ip=209.85.160.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.178 is neither permitted nor denied by best guess record for domain of angus.ainslie@linaro.org) smtp.mail=angus.ainslie@linaro.org Received: by gyf1 with SMTP id 1so1044008gyf.37 for ; Fri, 09 Sep 2011 14:59:06 -0700 (PDT) Received: by 10.43.132.72 with SMTP id ht8mr249317icc.268.1315605546208; Fri, 09 Sep 2011 14:59:06 -0700 (PDT) Received: from builder.akkea.ca (S0106c43dc79ddf87.cg.shawcable.net [70.73.137.251]) by mx.google.com with ESMTPS id v2sm10033911ibg.2.2011.09.09.14.59.04 (version=SSLv3 cipher=OTHER); Fri, 09 Sep 2011 14:59:05 -0700 (PDT) From: Angus Ainslie To: u-boot@lists.denx.de Cc: bjlee@samsung.com, linaro-dev@lists.linaro.org, patches@linaro.org, mk7.kang@samsung.com, samsung@lists.linaro.org, Angus Ainslie Subject: [PATCH] ORIGEN : use absolute paths for tools directory Date: Fri, 9 Sep 2011 15:58:49 -0600 Message-Id: <1315605529-1989-1-git-send-email-angus.ainslie@linaro.org> X-Mailer: git-send-email 1.7.4.1 On some hosts using relative paths will cause the build to fail. This patch sets absolute paths for the tools directory 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..b8a495f 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.exe 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.exe: tools/mkv310_image.c + $(HOSTCC) tools/mkv310_image.c -o $(OBJTREE)/tools/mk$(BOARD)spl.exe endif ######################################################################### diff --git a/spl/Makefile b/spl/Makefile index 95ecce1..8613a7c 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.exe \ $(obj)u-boot-spl.bin $(obj)$(BOARD)-spl.bin endif