summaryrefslogtreecommitdiff
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
parent071c95be70108b2cd45260ad909cc2f92d973447 (diff)
downloadrockbox-75df5c2684ea146e2cdb923b2ef8f92309a1a3e1.tar.gz
rockbox-75df5c2684ea146e2cdb923b2ef8f92309a1a3e1.zip
imxtools/hwemul: allow for toolchain prefix override
Change-Id: I4f790441edac01ab2e8cb286c766ea0b272b4780
-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 @@
1CC=arm-elf-eabi-gcc 1PREFIX?=arm-elf-eabi-
2LD=arm-elf-eabi-gcc 2CC=$(PREFIX)gcc
3AS=arm-elf-eabi-gcc 3LD=$(PREFIX)gcc
4OC=arm-elf-eabi-objcopy 4AS=$(PREFIX)gcc
5OC=$(PREFIX)objcopy
5SBTOOLS=../../sbtools/ 6SBTOOLS=../../sbtools/
6CFLAGS=-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 7CFLAGS=-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
7CFLAGS_3700=$(CFLAGS) -DHAVE_STMP3700 8CFLAGS_3700=$(CFLAGS) -DHAVE_STMP3700