5
Line | |
---|
1 | # |
---|
2 | # Config file for an Intec Automation SS555 MPC555-based card |
---|
3 | # |
---|
4 | # This file is derived from: |
---|
5 | # |
---|
6 | # Config file for a PowerPC MPC860-based MBX821-001 card. |
---|
7 | # Config file for a PowerPC 403 based helas403 card |
---|
8 | # Config file for MPC860 based Ethernet Comm Board |
---|
9 | |
---|
10 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
11 | |
---|
12 | RTEMS_CPU=powerpc |
---|
13 | |
---|
14 | # This contains the compiler options necessary to select the CPU model |
---|
15 | # and (hopefully) optimize for it. |
---|
16 | # |
---|
17 | CPU_CFLAGS = -mcpu=505 |
---|
18 | |
---|
19 | # optimize flag: typically -O2 |
---|
20 | CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions |
---|
21 | |
---|
22 | # FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2563. |
---|
23 | # The following two lines enable compiling and linking on per element. |
---|
24 | # CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections |
---|
25 | # LDFLAGS = -Wl,--gc-sections |
---|
26 | |
---|
27 | define bsp-post-link |
---|
28 | $(default-bsp-post-link) |
---|
29 | cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) |
---|
30 | $(STRIP) $(basename $@)$(DOWNEXT) |
---|
31 | endef |
---|
Note: See
TracBrowser
for help on using the repository browser.