source: rtems/bsps/powerpc/haleakala/config/haleakala.cfg @ c056f21

5
Last change on this file since c056f21 was 01da0ac, checked in by Joel Sherrill <joel@…>, on 05/16/18 at 14:47:07

haleakala: Move -Dxxx to configure.ac

Updates #3425.

  • Property mode set to 100644
File size: 794 bytes
RevLine 
[5c91615e]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#
[01da0ac]13CPU_CFLAGS = -mcpu=405
[5c91615e]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
[4e98ffa0]19
[c5ce9c3c]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
[5c91615e]24
25define bsp-post-link
26        $(default-bsp-post-link)
[efdda565]27        $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
[5c91615e]28endef
Note: See TracBrowser for help on using the repository browser.