summaryrefslogtreecommitdiff
path: root/src/stmf0/Makefile.defs
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-01-25 16:42:39 -0800
committerKeith Packard <keithp@keithp.com>2015-01-25 16:42:39 -0800
commit02f03df6d089cafae99f8ce15dcbd87f6e78d749 (patch)
tree4392734addefe43902b4e0979685ab72a008065b /src/stmf0/Makefile.defs
parent0e7d1c89fea98eabca738f10cbfebec631be3bb7 (diff)
altos: Initial STMF04x support
Basic clock configuration, OS support, LED and USB drivers. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stmf0/Makefile.defs')
-rw-r--r--src/stmf0/Makefile.defs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/stmf0/Makefile.defs b/src/stmf0/Makefile.defs
new file mode 100644
index 00000000..a1d93eb5
--- /dev/null
+++ b/src/stmf0/Makefile.defs
@@ -0,0 +1,9 @@
+ifndef TOPDIR
+TOPDIR=..
+endif
+
+include $(TOPDIR)/stmf0/Makefile-stmf0.defs
+
+LDFLAGS=$(CFLAGS) -L$(TOPDIR)/stmf0 -Wl,-Taltos.ld
+
+.DEFAULT_GOAL=all