projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/draw: Add validation for line drawing
[fw/altos]
/
src
/
samd21
/
Makefile.defs
diff --git
a/src/samd21/Makefile.defs
b/src/samd21/Makefile.defs
index eb6a267d56ff579717d68347ecf6a6088a2c7b96..d58db93469161d88099d7cab5f04390eef7e2655 100644
(file)
--- a/
src/samd21/Makefile.defs
+++ b/
src/samd21/Makefile.defs
@@
-4,6
+4,8
@@
endif
include $(TOPDIR)/samd21/Makefile-samd21.defs
include $(TOPDIR)/samd21/Makefile-samd21.defs
-LDFLAGS=-nostartfiles $(CFLAGS) -L$(TOPDIR)/samd21 -Taltos.ld -n
+SAMD21_LINKER_SCRIPT=altos-$(SAMD21_ROM)-$(SAMD21_RAM).ld
+
+LDFLAGS=-nostartfiles $(CFLAGS) -L$(TOPDIR)/samd21 -T$(SAMD21_LINKER_SCRIPT) -n
.DEFAULT_GOAL=all
.DEFAULT_GOAL=all