summaryrefslogtreecommitdiff
path: root/nuttx/configs/mirtoo/ostest/Make.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/mirtoo/ostest/Make.defs')
-rw-r--r--nuttx/configs/mirtoo/ostest/Make.defs14
1 files changed, 12 insertions, 2 deletions
diff --git a/nuttx/configs/mirtoo/ostest/Make.defs b/nuttx/configs/mirtoo/ostest/Make.defs
index 026a4cfa4..e502afe6c 100644
--- a/nuttx/configs/mirtoo/ostest/Make.defs
+++ b/nuttx/configs/mirtoo/ostest/Make.defs
@@ -88,10 +88,20 @@ ifeq ($(CONFIG_PIC32MX_MICROCHIPOPENL),y)
LDFLAGS += -nostartfiles -nodefaultlibs
LDSCRIPT = c32-debug.ld
endif
-ifeq ($(CONFIG_PIC32MX_MIPSELFL),y)
+ifeq ($(CONFIG_PIC32MX_PINGUINOW),y)
+ # Penquino mips-elf toolchain under Windows
+ CROSSDEV = mips-
+ WINTOOL = y
+ MAXOPTIMIZATION = -O2
+ ARCHCPUFLAGS = -mlong32 -membedded-data -msoft-float -march=24kc -EL
+ ARCHPICFLAGS = -fpic -membedded-pic
+ LDFLAGS += -nostartfiles -nodefaultlibs
+ LDSCRIPT = mips-elf-debug.ld
+endif
+ifeq ($(CONFIG_PIC32MX_PINGUINOL),y)
# Penquino mips-elf toolchain under Linux
CROSSDEV = mips-elf-
- # MAXOPTIMIZATION = -O2
+ MAXOPTIMIZATION = -O2
ARCHCPUFLAGS = -mlong32 -membedded-data -msoft-float -march=24kc -EL
ARCHPICFLAGS = -fpic -membedded-pic
LDFLAGS += -nostartfiles -nodefaultlibs