summaryrefslogtreecommitdiffstats
path: root/utils/hwstub/stub/atj213x/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/hwstub/stub/atj213x/Makefile')
-rw-r--r--utils/hwstub/stub/atj213x/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/utils/hwstub/stub/atj213x/Makefile b/utils/hwstub/stub/atj213x/Makefile
index 8ec37f3543..d653017a0f 100644
--- a/utils/hwstub/stub/atj213x/Makefile
+++ b/utils/hwstub/stub/atj213x/Makefile
@@ -1,10 +1,11 @@
#
# common
#
-CC=mipsel-elf-gcc
-LD=mipsel-elf-gcc
-AS=mipsel-elf-gcc
-OC=mipsel-elf-objcopy
+PREFIX?=mipsel-elf-
+CC=$(PREFIX)gcc
+LD=$(PREFIX)gcc
+AS=$(PREFIX)gcc
+OC=$(PREFIX)objcopy
DEFINES=
INCLUDES=-I$(CURDIR)
GCCOPTS=-march=mips32r2 -G0 -msoft-float