source: rtems/c/src/lib/libbsp/m68k/mvme136/make/custom/mvme136.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: 596 bytes
Line 
1#
2#  Config file for the mvme136 BSP
3#
4
5include $(RTEMS_ROOT)/make/custom/default.cfg
6
7RTEMS_CPU=m68k
8RTEMS_CPU_MODEL=m68020
9
10#
11#  This contains the compiler options necessary to select the CPU model
12#  and (hopefully) optimize for it.
13#
14CPU_CFLAGS = -mcpu=68020
15
16# optimize flag: typically -O2
17CFLAGS_OPTIMIZE_V = -Os -g -fomit-frame-pointer -DNDEBUG
18
19define bsp-post-link
20        $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).srec
21        sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
22            $(PACKHEX) > $(basename $@)$(DOWNEXT)
23        rm -f $(basename $@).srec
24        $(default-bsp-post-link)
25endef
26
Note: See TracBrowser for help on using the repository browser.