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

5
Last change on this file since adb85dd was adb85dd, checked in by Sebastian Huber <sebastian.huber@…>, on 04/21/18 at 08:22:08

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: 971 bytes
RevLine 
[f2ac66c]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
10include $(RTEMS_ROOT)/make/custom/default.cfg
11
12RTEMS_CPU=powerpc
13GCC_CPU_MODEL=505
14
15#  This contains the compiler options necessary to select the CPU model
16#  and (hopefully) optimize for it.
17#
[6882be7]18CPU_CFLAGS = -mcpu=$(GCC_CPU_MODEL) -Dmpc555
[f2ac66c]19
20# optimize flag: typically -O2
21CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
[c663474]22
[aaa21b1]23# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2563.
[72d8e64c]24# The following two lines enable compiling and linking on per element.
25# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
26# LDFLAGS = -Wl,--gc-sections
[f2ac66c]27
28define bsp-post-link
29        $(default-bsp-post-link)
[efdda565]30        cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
[f2ac66c]31        $(STRIP) $(basename $@)$(DOWNEXT)
32endef
Note: See TracBrowser for help on using the repository browser.