source: rtems/make/custom/dmv177.cfg @ eec76f3c

4.104.114.84.95
Last change on this file since eec76f3c was eec76f3c, checked in by Joel Sherrill <joel.sherrill@…>, on 05/14/02 at 15:51:29

2002-05-01 Ralf Corsepius <corsepiu@…>

  • custom/dmv177.cfg: Use -mcpu=603e.
  • custom/ppcn_60x.cfg: Use -mcpu=603e.
  • custom/psim.cfg: Use -mcpu=603e.
  • custom/score603e.cfg: Use -mcpu=603e.
  • custom/ts_386ex.cfg: Remove obsolete comments.
  • custom/rxgen960.cfg: Remove obsolete comments.
  • custom/cvme961.cfg: Remove obsolete comments.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1#
2#  Config file for a PowerPC 603e based DY-4 VMEbus Single Board Computer.
3#  This BSP should work with the following models:
4#
5#     + SVME-171/DMV-171
6#     + SVME-176/DMV-176
7#
8#  $Id$
9#
10
11include $(RTEMS_ROOT)/make/custom/default.cfg
12
13RTEMS_CPU=powerpc
14RTEMS_CPU_MODEL=ppc603e
15
16# This is the actual bsp directory used during the build process.
17RTEMS_BSP_FAMILY=dmv177
18
19#  This contains the compiler options necessary to select the CPU model
20#  and (hopefully) optimize for it.
21#
22CPU_CFLAGS = -mcpu=603e -D_OLD_EXCEPTIONS -Dppc603e
23
24# optimize flag: typically -0, could use -O4 or -fast
25# -O4 is ok for RTEMS
26# NOTE: some level of -O may be actually required by inline assembler
27CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
28
29define make-exe
30        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
31            -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
32        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
33        sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
34            $(PACKHEX) > $(basename $@).exe
35        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
36        $(SIZE) $(basename $@).nxe
37        $(STRIP) $(basename $@).nxe
38endef
39
40# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.