5
Last change
on this file since c5ce9c3c was
c5ce9c3c,
checked in by Joel Sherrill <joel@…>, on 02/05/16 at 13:51:48
|
powerpc/.../haleakala.cfg: Disable per function sections.
updates #2561.
|
-
Property mode set to
100644
|
File size:
826 bytes
|
Line | |
---|
1 | # |
---|
2 | # Config file for a PowerPC 405 based card |
---|
3 | # mhamel |
---|
4 | # |
---|
5 | |
---|
6 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
7 | |
---|
8 | RTEMS_CPU=powerpc |
---|
9 | RTEMS_CPU_MODEL=ppc405 |
---|
10 | |
---|
11 | # This contains the compiler options necessary to select the CPU model |
---|
12 | # and (hopefully) optimize for it. |
---|
13 | # |
---|
14 | CPU_CFLAGS = -mcpu=405 -Dppc405 |
---|
15 | |
---|
16 | # optimize flag: typically -0, could use -O4 or -fast |
---|
17 | # -O4 is ok for RTEMS |
---|
18 | # NOTE: some level of -O may be actually required by inline assembler |
---|
19 | CFLAGS_OPTIMIZE_V = -O1 -g |
---|
20 | |
---|
21 | # FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2561. |
---|
22 | # The following two lines enable compiling and linking on per element. |
---|
23 | # CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections |
---|
24 | # LDFLAGS = -Wl,--gc-sections |
---|
25 | |
---|
26 | define bsp-post-link |
---|
27 | $(default-bsp-post-link) |
---|
28 | $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) |
---|
29 | endef |
---|
Note: See
TracBrowser
for help on using the repository browser.