summaryrefslogtreecommitdiff
path: root/nuttx/configs/pic32mx7mmb/ostest/Make.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/pic32mx7mmb/ostest/Make.defs')
-rw-r--r--nuttx/configs/pic32mx7mmb/ostest/Make.defs38
1 files changed, 1 insertions, 37 deletions
diff --git a/nuttx/configs/pic32mx7mmb/ostest/Make.defs b/nuttx/configs/pic32mx7mmb/ostest/Make.defs
index 4196872a7..808f12193 100644
--- a/nuttx/configs/pic32mx7mmb/ostest/Make.defs
+++ b/nuttx/configs/pic32mx7mmb/ostest/Make.defs
@@ -35,43 +35,7 @@
include ${TOPDIR}/.config
include ${TOPDIR}/tools/Config.mk
-
-# Setup for the selected toolchain
-
-ifeq ($(CONFIG_PIC32MX_MICROCHIPW),y)
- # Microchip toolchain under Windows
- CROSSDEV = pic32-
- WINTOOL = y
- MAXOPTIMIZATION = -O2
- ARCHCPUFLAGS = -mprocessor=elf32pic32mx -mno-float -mlong32 -membedded-data
- ARCHPICFLAGS = -fpic -membedded-pic
- LDFLAGS += -nostartfiles -nodefaultlibs
-endif
-ifeq ($(CONFIG_PIC32MX_MICROCHIPW_LITE),y)
- # Microchip toolchain under Windows
- CROSSDEV = pic32-
- WINTOOL = y
-# MAXOPTIMIZATION = -O2
- ARCHCPUFLAGS = -mprocessor=elf32pic32mx -mno-float -mlong32 -membedded-data
- ARCHPICFLAGS = -fpic -membedded-pic
- LDFLAGS += -nostartfiles -nodefaultlibs
-endif
-ifeq ($(CONFIG_PIC32MX_MICROCHIPL),y)
- # Microchip toolchain under Linux
- CROSSDEV = pic32-
- MAXOPTIMIZATION = -O2
- ARCHCPUFLAGS = -mprocessor=elf32pic32mx -mno-float -mlong32 -membedded-data
- ARCHPICFLAGS = -fpic -membedded-pic
- LDFLAGS += -nostartfiles -nodefaultlibs
-endif
-ifeq ($(CONFIG_PIC32MX_MICROCHIPL_LITE),y)
- # Microchip toolchain under Linux
- CROSSDEV = pic32-
-# MAXOPTIMIZATION = -O2
- ARCHCPUFLAGS = -mprocessor=elf32pic32mx -mno-float -mlong32 -membedded-data
- ARCHPICFLAGS = -fpic -membedded-pic
- LDFLAGS += -nostartfiles -nodefaultlibs
-endif
+include ${TOPDIR}/arch/mips/src/mips32/Toolchain.defs
ifeq ($(WINTOOL),y)
# Windows-native toolchains