summaryrefslogtreecommitdiffstats
path: root/utils/hwstub/stub/stmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/hwstub/stub/stmp/Makefile')
-rw-r--r--utils/hwstub/stub/stmp/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/utils/hwstub/stub/stmp/Makefile b/utils/hwstub/stub/stmp/Makefile
index 006f4ea73f..76f6d00a33 100644
--- a/utils/hwstub/stub/stmp/Makefile
+++ b/utils/hwstub/stub/stmp/Makefile
@@ -1,10 +1,11 @@
#
# common
#
-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=$(CURDIR)/../../../imxtools/sbtools
ELFTOSB=$(SBTOOLS)/elftosb
ELFTOSB1=$(SBTOOLS)/elftosb1