source: rtems/c/src/lib/libbsp/powerpc/score603e/make/custom/score603e.cfg @ efdda565

4.11
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: 767 bytes
Line 
1#
2#  Config file for a PowerPC 603e based Vista VMEbus Single Board Computer.
3#  This BSP should work with the following models:
4#
5#     + Vista SCORE 603e
6#
7
8include $(RTEMS_ROOT)/make/custom/default.cfg
9
10RTEMS_CPU=powerpc
11RTEMS_CPU_MODEL=mpc6xx
12
13# This is the actual bsp directory used during the build process.
14
15#  This contains the compiler options necessary to select the CPU model
16#  and (hopefully) optimize for it.
17#
18CPU_CFLAGS = -mcpu=603e -Dppc603e
19
20# optimize flag: typically -O2
21CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
22
23define bsp-post-link
24        $(default-bsp-post-link)
25        $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).s1
26        sed -e 's/.$$//' $(basename $@).s1 | \
27          $(PACKHEX) >$(basename $@)$(DOWNEXT)
28        rm -f $(basename $@).s1
29endef
Note: See TracBrowser for help on using the repository browser.