git.asbjorn.biz
/
rapper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3438bf0
)
Makefile: Add support for overriding PLATFORM
author
Asbjørn Sloth Tønnesen
<asbjorn@asbjorn.biz>
Thu, 18 Nov 2010 19:05:57 +0000
(19:05 +0000)
committer
Asbjørn Sloth Tønnesen
<asbjorn@asbjorn.biz>
Thu, 18 Nov 2010 19:05:57 +0000
(19:05 +0000)
Usage:
make PLATFORM=arm-stupid-eabi
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz>
new_cmsis/Makefile
patch
|
blob
|
history
diff --git
a/new_cmsis/Makefile
b/new_cmsis/Makefile
index
d3af0b2
..
efcf2d9
100644
(file)
--- a/
new_cmsis/Makefile
+++ b/
new_cmsis/Makefile
@@
-1,5
+1,5
@@
PROJECT=rapper
-PLATFORM=arm-none-eabi
+PLATFORM ?= arm-none-eabi
LDFLAGS=--gc-sections -g -T LPC1768-flash.ld
CFLAGS=-W -Wall -Os --std=gnu99 -fgnu89-inline -mcpu=cortex-m3 -mthumb -ffunction-sections -fdata-sections -I. -g