From 6718cac02cb356b790039cdbb22f2430860977c1 Mon Sep 17 00:00:00 2001 From: Bernhard Rosenkraenzer Date: Tue, 6 Dec 2011 15:05:55 +0059 Subject: u-boot: Better handling of relative paths in TARGET_TOOLS_PREFIX Signed-off-by: Bernhard Rosenkraenzer --- tasks/uboot.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/uboot.mk b/tasks/uboot.mk index 38061c9..8bbbc57 100644 --- a/tasks/uboot.mk +++ b/tasks/uboot.mk @@ -4,7 +4,7 @@ ifneq ($(findstring prebuilt,$(TARGET_TOOLS_PREFIX)),) UBOOT_TCDIR = $(shell basename `which arm-linux-gnueabi-gcc`) UBOOT_TCPREFIX = arm-linux-gnueabi- else -UBOOT_TCDIR = $(shell dirname $(TARGET_TOOLS_PREFIX)) +UBOOT_TCDIR = $(realpath $(shell dirname $(TARGET_TOOLS_PREFIX))) # u-boot is not an Android application and should be # built with the bare metal toolchain if it is available UBOOT_TCPREFIX = $(shell if [ -e $(UBOOT_TCDIR)/arm-eabi-gcc ]; then echo arm-eabi-; else basename $(TARGET_TOOLS_PREFIX); fi) -- cgit v1.2.3