source: rtems/c/src/lib/libbsp/m68k/mcf5235/make/custom/mcf5235.cfg @ 5d39512

5
Last change on this file since 5d39512 was 5d39512, checked in by Sebastian Huber <sebastian.huber@…>, on 03/26/18 at 11:25:36

bsps/m68k: Remove libcpu/m68k

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 831 bytes
Line 
1#
2#  Config file for the mcf5235 BSP
3#
4
5RTEMS_CPU=m68k
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9#  This contains the compiler options necessary to select the CPU model
10#  and (hopefully) optimize for it.
11CPU_CFLAGS = -mcpu=5235
12
13# optimize flag: typically -O2
14CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
15
16# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2571.
17# The following two lines enable compiling and linking on per element.
18# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
19# LDFLAGS = -Wl,--gc-sections
20
21ifndef MTARGET
22MTARGET=ram
23endif
24
25# This defines the operations performed on the linked executable.
26# is currently required.
27define bsp-post-link
28        $(OBJCOPY) -O binary --strip-all \
29            $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
30        $(SIZE) $(basename $@)$(EXEEXT)
31endef
Note: See TracBrowser for help on using the repository browser.