summaryrefslogtreecommitdiff
path: root/src/lambdakey-v1.0
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-12-10 18:34:49 -0800
committerKeith Packard <keithp@keithp.com>2017-12-11 12:20:25 -0800
commit8ebecd364fd328e9c649c11729bddf58731aaafb (patch)
treeb388dbe788c78e04566e438ba797cf62f9fa93b2 /src/lambdakey-v1.0
parentb0de72d942eb87c5acd190878dd57ca4f812e8a1 (diff)
altos: Allow building with newlib + avr stdio on ARM
Redefines some stdio bits so that we can build with either pdclib or newlib + avr stdio. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lambdakey-v1.0')
-rw-r--r--src/lambdakey-v1.0/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lambdakey-v1.0/Makefile b/src/lambdakey-v1.0/Makefile
index 6b819ffb..4eb045b6 100644
--- a/src/lambdakey-v1.0/Makefile
+++ b/src/lambdakey-v1.0/Makefile
@@ -54,7 +54,7 @@ MAP=$(PROG).map
NEWLIB=/local/newlib-mini
MAPFILE=-Wl,-M=$(MAP)
LDFLAGS=-L../stmf0 -L$(NEWLIB)/arm-none-eabi/lib/thumb/v6-m/ -Wl,-Tlambda.ld $(MAPFILE) -nostartfiles
-AO_CFLAGS=-I. -I../stmf0 -I../kernel -I../drivers -I.. -I../scheme -isystem $(NEWLIB)/arm-none-eabi/include
+AO_CFLAGS=-I. -I../stmf0 -I../kernel -I../drivers -I.. -I../scheme -isystem $(NEWLIB)/arm-none-eabi/include -DNEWLIB
PROGNAME=lambdakey-v1.0
PROG=$(PROGNAME)-$(VERSION).elf