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