source: rtems/bsps/powerpc/haleakala/config/haleakala.cfg @ 01da0ac

Last change on this file since 01da0ac was 01da0ac, checked in by Joel Sherrill <joel@…>, on May 16, 2018 at 2:47:07 PM

haleakala: Move -Dxxx to configure.ac

Updates #3425.

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