projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Build pdclib locally if necessary
[fw/altos]
/
src
/
lpc
/
Makefile-lpc.defs
diff --git
a/src/lpc/Makefile-lpc.defs
b/src/lpc/Makefile-lpc.defs
index fbd413b0bc0d3f785555e3a7ed307b97d376b71a..3d55cf67c4c735af6a9178d36037a353880ddbdb 100644
(file)
--- a/
src/lpc/Makefile-lpc.defs
+++ b/
src/lpc/Makefile-lpc.defs
@@
-26,12
+26,12
@@
endif
ELFTOHEX=$(TOPDIR)/../ao-tools/ao-elftohex/ao-elftohex
CC=$(ARM_CC)
ELFTOHEX=$(TOPDIR)/../ao-tools/ao-elftohex/ao-elftohex
CC=$(ARM_CC)
-AO_CFLAGS=-I. -I$(TOPDIR)/lpc -I$(TOPDIR)/core -I$(TOPDIR)/drivers -I$(TOPDIR)/product -I$(TOPDIR)
+AO_CFLAGS=-I. -I$(TOPDIR)/lpc -I$(TOPDIR)/core -I$(TOPDIR)/drivers -I$(TOPDIR)/product -I$(TOPDIR)
$(PDCLIB_INCLUDES)
LPC_CFLAGS=-std=gnu99 -mlittle-endian -mcpu=cortex-m0 -mthumb -ffreestanding -nostdlib $(AO_CFLAGS)
NICKLE=nickle
LPC_CFLAGS=-std=gnu99 -mlittle-endian -mcpu=cortex-m0 -mthumb -ffreestanding -nostdlib $(AO_CFLAGS)
NICKLE=nickle
-LIBS=
-lpdclib-cortex-m0
-lgcc
+LIBS=
$(PDCLIB_LIBS_M0)
-lgcc
V=0
# The user has explicitly enabled quiet compilation.
V=0
# The user has explicitly enabled quiet compilation.