5
Line | |
---|
1 | # |
---|
2 | # Config file for the mcf5329 BSP |
---|
3 | # |
---|
4 | |
---|
5 | |
---|
6 | RTEMS_CPU=m68k |
---|
7 | RTEMS_CPU_MODEL=mcf532x |
---|
8 | |
---|
9 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
10 | |
---|
11 | # This contains the compiler options necessary to select the CPU model |
---|
12 | # and (hopefully) optimize for it. |
---|
13 | #CPU_CFLAGS = -mcpu=5329 |
---|
14 | CPU_CFLAGS = -mcpu=5307 |
---|
15 | |
---|
16 | # optimize flag: typically -O2 |
---|
17 | CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer |
---|
18 | |
---|
19 | # FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2561. |
---|
20 | # The following two lines enable compiling and linking on per element. |
---|
21 | # CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections |
---|
22 | # LDFLAGS = -Wl,--gc-sections |
---|
23 | |
---|
24 | # This defines the operations performed on the linked executable. |
---|
25 | # is currently required. |
---|
26 | define bsp-post-link |
---|
27 | $(OBJCOPY) -O binary --strip-all \ |
---|
28 | $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) |
---|
29 | $(SIZE) $(basename $@)$(EXEEXT) |
---|
30 | endef |
---|
Note: See
TracBrowser
for help on using the repository browser.