source: rtems/bsps/m68k/mcf5225x/config/mcf5225x.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: 906 bytes
Line 
1#
2#  Config file for the mcf5225x BSP
3#
4
5RTEMS_CPU=m68k
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9# This is the actual bsp directory used during the build process.
10RTEMS_BSP_FAMILY=mcf5225x
11
12#  This contains the compiler options necessary to select the CPU model
13#  and (hopefully) optimize for it.
14CPU_CFLAGS = -mcpu=52235 $(PROJECT_FLAGS)
15
16# optimize flag: typically -O2
17CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
18
19# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2568.
20# The following two lines enable compiling and linking on per element.
21# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
22# LDFLAGS = -Wl,--gc-sections
23
24# This defines the operations performed on the linked executable.
25# is currently required.
26define bsp-post-link
27        $(OBJCOPY) -O binary --strip-all \
28            $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
29        $(SIZE) $(basename $@)$(EXEEXT)
30endef
Note: See TracBrowser for help on using the repository browser.