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

4.115
Last change on this file since efdda565 was efdda565, checked in by Nick Withers <nick.withers@…>, on 08/09/13 at 04:18:17

Use $(EXEEXT) [defaults to "exe"] to generate binaries

  • Property mode set to 100644
File size: 616 bytes
Line 
1#
2#  Config file for the mcf5235 BSP
3#
4
5RTEMS_CPU=m68k
6RTEMS_CPU_MODEL=mcf5235
7
8include $(RTEMS_ROOT)/make/custom/default.cfg
9
10#  This contains the compiler options necessary to select the CPU model
11#  and (hopefully) optimize for it.
12CPU_CFLAGS = -mcpu=5235
13
14# optimize flag: typically -O2
15CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
16
17ifndef MTARGET
18MTARGET=ram
19endif
20
21# This defines the operations performed on the linked executable.
22# is currently required.
23define bsp-post-link
24        $(OBJCOPY) -O binary --strip-all \
25            $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
26        $(SIZE) $(basename $@)$(EXEEXT)
27endef
Note: See TracBrowser for help on using the repository browser.