diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-01-25 15:23:42 +0000 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-01-26 18:24:50 +0000 |
commit | 75df5c2684ea146e2cdb923b2ef8f92309a1a3e1 (patch) | |
tree | fb3fe56e57198258ccf53661c572a60932c09681 | |
parent | 071c95be70108b2cd45260ad909cc2f92d973447 (diff) | |
download | rockbox-75df5c2684ea146e2cdb923b2ef8f92309a1a3e1.tar.gz rockbox-75df5c2684ea146e2cdb923b2ef8f92309a1a3e1.zip |
imxtools/hwemul: allow for toolchain prefix override
Change-Id: I4f790441edac01ab2e8cb286c766ea0b272b4780
-rw-r--r-- | utils/imxtools/hwemul/dev/Makefile | 9 |
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 @@ | |||
1 | CC=arm-elf-eabi-gcc | 1 | PREFIX?=arm-elf-eabi- |
2 | LD=arm-elf-eabi-gcc | 2 | CC=$(PREFIX)gcc |
3 | AS=arm-elf-eabi-gcc | 3 | LD=$(PREFIX)gcc |
4 | OC=arm-elf-eabi-objcopy | 4 | AS=$(PREFIX)gcc |
5 | OC=$(PREFIX)objcopy | ||
5 | SBTOOLS=../../sbtools/ | 6 | SBTOOLS=../../sbtools/ |
6 | 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 | 7 | 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 |
7 | CFLAGS_3700=$(CFLAGS) -DHAVE_STMP3700 | 8 | CFLAGS_3700=$(CFLAGS) -DHAVE_STMP3700 |