projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'branch-1.9' into debian
[fw/altos]
/
src
/
stm32f1
/
Makefile.defs
diff --git a/src/stm32f1/Makefile.defs
b/src/stm32f1/Makefile.defs
new file mode 100644
(file)
index 0000000..
5ff7508
--- /dev/null
+++ b/
src/stm32f1/Makefile.defs
@@ -0,0
+1,11
@@
+ifndef TOPDIR
+TOPDIR=..
+endif
+
+include $(TOPDIR)/stm32f1/Makefile-stm32f1.defs
+
+STM32F1_LINKER_SCRIPT?=altos.ld
+
+LDFLAGS=$(CFLAGS) -L$(TOPDIR)/stm32f1 -T$(STM32F1_LINKER_SCRIPT) -n -Wl,--gc-sections
+
+.DEFAULT_GOAL=all