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

5
Last change on this file since adb85dd was adb85dd, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 21, 2018 at 8:22:08 AM

bsps: Move make/custom/* files to bsps

Adjust various build files. Remove automatic generation of the
c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script.

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 803 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 -Dppc405
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.