Files
retrobsd/sys/pic32/gcc-config.mk
Serge 427487850c Use pic32-tools from uecide.org.
Cannot build user binaries yet though.
2022-05-23 20:29:21 -07:00

13 lines
454 B
Makefile

# PIC32 compiler from UECIDE
# Use UECIDE package from http://uecide.org/download
ifndef MIPS_GCC_PREFIX
ifeq ($(HOME)/.uecide/compilers/pic32-tools/bin/pic32-gcc,$(wildcard $(HOME)/.uecide/compilers/pic32-tools/bin/pic32-gcc))
MIPS_GCC_PREFIX = $(HOME)/.uecide/compilers/pic32-tools/bin/pic32-
MIPS_GCC_FORMAT = elf32-tradlittlemips
endif
endif
ifndef MIPS_GCC_PREFIX
$(error Unable to locate any GCC MIPS toolchain!)
endif