summaryrefslogtreecommitdiff
path: root/nuttx/arch/mips/src/mips32/Toolchain.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/mips/src/mips32/Toolchain.defs')
-rw-r--r--nuttx/arch/mips/src/mips32/Toolchain.defs6
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/arch/mips/src/mips32/Toolchain.defs b/nuttx/arch/mips/src/mips32/Toolchain.defs
index 9a39c5eda..554e5f044 100644
--- a/nuttx/arch/mips/src/mips32/Toolchain.defs
+++ b/nuttx/arch/mips/src/mips32/Toolchain.defs
@@ -131,7 +131,9 @@ endif
ifeq ($(CONFIG_MIPS32_TOOLCHAIN),MICROCHIPW)
CROSSDEV = pic32-
# CROSSDEV = xc32-
+ifneq ($(CONFIG_WINDOWS_NATIVE),y)
WINTOOL = y
+endif
MAXOPTIMIZATION = -O2
ARCHCPUFLAGS = -mprocessor=elf32pic32mx -mno-float -mlong32 -membedded-data
ARCHPICFLAGS = -fpic -membedded-pic
@@ -156,7 +158,9 @@ endif
ifeq ($(CONFIG_MIPS32_TOOLCHAIN),MICROCHIPW_LITE)
CROSSDEV = pic32-
# CROSSDEV = xc32-
+ifneq ($(CONFIG_WINDOWS_NATIVE),y)
WINTOOL = y
+endif
# MAXOPTIMIZATION = -O2
ARCHCPUFLAGS = -mprocessor=elf32pic32mx -mno-float -mlong32 -membedded-data
ARCHPICFLAGS = -fpic -membedded-pic
@@ -179,7 +183,9 @@ endif
ifeq ($(CONFIG_MIPS32_TOOLCHAIN),PINGUINOW)
CROSSDEV = mips-
+ifneq ($(CONFIG_WINDOWS_NATIVE),y)
WINTOOL = y
+endif
MAXOPTIMIZATION = -O2
ARCHCPUFLAGS = -mlong32 -membedded-data -msoft-float -march=24kc -EL
ARCHPICFLAGS = -fpic -membedded-pic