summaryrefslogtreecommitdiffstats
path: root/utils/imxtools/hwemul/dev/Makefile
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-01-25 15:23:42 +0000
committerAmaury Pouly <amaury.pouly@gmail.com>2013-01-26 18:24:50 +0000
commit75df5c2684ea146e2cdb923b2ef8f92309a1a3e1 (patch)
treefb3fe56e57198258ccf53661c572a60932c09681 /utils/imxtools/hwemul/dev/Makefile
parent071c95be70108b2cd45260ad909cc2f92d973447 (diff)
downloadrockbox-75df5c2684ea146e2cdb923b2ef8f92309a1a3e1.tar.gz
rockbox-75df5c2684ea146e2cdb923b2ef8f92309a1a3e1.zip
imxtools/hwemul: allow for toolchain prefix override
Change-Id: I4f790441edac01ab2e8cb286c766ea0b272b4780
Diffstat (limited to 'utils/imxtools/hwemul/dev/Makefile')
-rw-r--r--utils/imxtools/hwemul/dev/Makefile9
1 files changed, 5 insertions, 4 deletions
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