projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reformat and fix paste.
[bertos.git]
/
examples
/
triface
/
triface.mk
diff --git
a/examples/triface/triface.mk
b/examples/triface/triface.mk
index 140dcc73c3c114279510ea214e46b0e3c84f543b..5341610a7df702735cb4fa8db516ecb2a8d7479e 100644
(file)
--- a/
examples/triface/triface.mk
+++ b/
examples/triface/triface.mk
@@
-55,8
+55,9
@@
triface_CSRC = \
triface_PCSRC += bertos/mware/formatwr.c
triface_PCSRC += bertos/mware/formatwr.c
-triface_CFLAGS = -O2 -D'ARCH=(ARCH_TRIFACE)' -D'CPU_FREQ=(14745600UL)' -D'WIZ_AUTOGEN' -fno-strict-aliasing -fwrapv -Iexamples/triface/boot -Ibertos/cpu/avr
-ng -Iexamples/triface -Ibertos/cpu/avr
+triface_CFLAGS = -O2 -D'ARCH=(ARCH_TRIFACE)' -D'CPU_FREQ=(14745600UL)' -D'WIZ_AUTOGEN' \
+ -fno-strict-aliasing -fwrapv -Iexamples/triface -Ibertos/cpu/avr
+
triface_LDFLAGS = -Wl
triface_PROGRAMMER_CPU = atmega1281
triface_LDFLAGS = -Wl
triface_PROGRAMMER_CPU = atmega1281
@@
-89,8
+90,9
@@
boot_CSRC = \
boot_PREFIX = avr-
boot_PREFIX = avr-
-boot_CPPFLAGS = -D'ARCH=(ARCH_TRIFACE|ARCH_BOOT)' -D'CPU_FREQ=(14745600UL)' -D'WIZ_AUTOGEN' -fno-strict-aliasing -fwrapv -Iexamples/triface/boot -Ibertos/cpu/avr
- -Iexamples/triface/boot -Ibertos/cpu/avr
+boot_CPPFLAGS = -D'ARCH=(ARCH_TRIFACE|ARCH_BOOT)' -D'CPU_FREQ=(14745600UL)' -D'WIZ_AUTOGEN' \
+ -fno-strict-aliasing -fwrapv -Iexamples/triface/boot -Ibertos/cpu/avr
+
boot_CFLAGS = -Os -mcall-prologues
boot_LDFLAGS = -Wl,--relax -Wl,--section-start=.text=$(BOOT_ADDR_START)
boot_CFLAGS = -Os -mcall-prologues
boot_LDFLAGS = -Wl,--relax -Wl,--section-start=.text=$(BOOT_ADDR_START)