Added UECIDE option to compiler in target makefiles
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -21,3 +21,5 @@
|
|||||||
*.i*86
|
*.i*86
|
||||||
*.x86_64
|
*.x86_64
|
||||||
*.hex
|
*.hex
|
||||||
|
|
||||||
|
Makefile.user
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
# chipKIT PIC32 compiler from UECIDE
|
||||||
|
ifdef UECIDE
|
||||||
|
ifndef GCCPREFIX
|
||||||
|
GCCPREFIX = ${HOME}/.uecide/compilers/pic32-tools/bin/pic32-
|
||||||
|
LDFLAGS = -Wl,--oformat=elf32-tradlittlemips
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
# chipKIT PIC32 compiler on Linux
|
# chipKIT PIC32 compiler on Linux
|
||||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
# Download from https://github.com/jasonkajita/chipKIT-cxx/downloads
|
# Download from https://github.com/jasonkajita/chipKIT-cxx/downloads
|
||||||
|
|||||||
@@ -1,6 +1,15 @@
|
|||||||
MACHINE = mips
|
MACHINE = mips
|
||||||
DESTDIR ?= $(TOPSRC)
|
DESTDIR ?= $(TOPSRC)
|
||||||
|
|
||||||
|
# chipKIT PIC32 compiler from UECIDE
|
||||||
|
ifdef UECIDE
|
||||||
|
ifndef GCCPREFIX
|
||||||
|
GCCPREFIX = ${HOME}/.uecide/compilers/pic32-tools/bin/pic32-
|
||||||
|
LDFLAGS = -Wl,--oformat=elf32-tradlittlemips
|
||||||
|
INCLUDES = -I${HOME}/.uecide/compilers/pic32-tools/lib/gcc/pic32mx/4.5.1/include
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
# chipKIT PIC32 compiler on Linux
|
# chipKIT PIC32 compiler on Linux
|
||||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
# Download from https://github.com/jasonkajita/chipKIT-cxx/downloads
|
# Download from https://github.com/jasonkajita/chipKIT-cxx/downloads
|
||||||
|
|||||||
Reference in New Issue
Block a user