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

4.115
Last change on this file since efdda565 was efdda565, checked in by Nick Withers <nick.withers@…>, on Aug 9, 2013 at 4:18:17 AM

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

  • Property mode set to 100644
File size: 584 bytes
Line 
1#
2#  Config file for the IDP BSP
3#
4
5include $(RTEMS_ROOT)/make/custom/default.cfg
6
7RTEMS_CPU=m68k
8RTEMS_CPU_MODEL=m68ec040
9
10#  This contains the compiler options necessary to select the CPU model
11#  and (hopefully) optimize for it.
12#
13CPU_CFLAGS = -msoft-float
14
15# optimize flag: typically -O2
16CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
17
18define bsp-post-link
19        $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).srec
20        sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
21            $(PACKHEX) > $(basename $@)$(DOWNEXT)
22        rm -f  $(basename $@).srec
23        $(default-bsp-post-link)
24endef
Note: See TracBrowser for help on using the repository browser.