diff options
Diffstat (limited to 'utils/imxtools/hwemul/dev/Makefile')
-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 @@ -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 |