From 75df5c2684ea146e2cdb923b2ef8f92309a1a3e1 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Fri, 25 Jan 2013 15:23:42 +0000 Subject: imxtools/hwemul: allow for toolchain prefix override Change-Id: I4f790441edac01ab2e8cb286c766ea0b272b4780 --- utils/imxtools/hwemul/dev/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'utils/imxtools') diff --git a/utils/imxtools/hwemul/dev/Makefile b/utils/imxtools/hwemul/dev/Makefile index 9bae1df21b..ca61fe392d 100644 --- a/utils/imxtools/hwemul/dev/Makefile +++ b/utils/imxtools/hwemul/dev/Makefile @@ -1,7 +1,8 @@ -CC=arm-elf-eabi-gcc -LD=arm-elf-eabi-gcc -AS=arm-elf-eabi-gcc -OC=arm-elf-eabi-objcopy +PREFIX?=arm-elf-eabi- +CC=$(PREFIX)gcc +LD=$(PREFIX)gcc +AS=$(PREFIX)gcc +OC=$(PREFIX)objcopy SBTOOLS=../../sbtools/ CFLAGS=-W -Wall -Wundef -O -nostdlib -ffreestanding -Wstrict-prototypes -pipe -std=gnu99 -mcpu=arm926ej-s -fomit-frame-pointer -Wno-pointer-sign -Wno-override-init -ffunction-sections CFLAGS_3700=$(CFLAGS) -DHAVE_STMP3700 -- cgit v1.2.3