source: rtems/make/custom/ss555.cfg @ db87589

4.104.114.84.95
Last change on this file since db87589 was db87589, checked in by Joel Sherrill <joel.sherrill@…>, on 04/12/04 at 21:53:11

2004-04-12 David Querbach <querbach@…>

  • custom/ss555.cfg: New file.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1#
2#  Config file for an Intec Automation SS555 MPC555-based card
3#
4#  This file is derived from:
5#
6#  Config file for a PowerPC MPC860-based MBX821-001 card.
7#  Config file for a PowerPC 403 based helas403 card
8#  Config file for MPC860 based Ethernet Comm Board
9#
10
11include $(RTEMS_ROOT)/make/custom/default.cfg
12
13RTEMS_CPU=powerpc
14GCC_CPU_MODEL=505
15RTEMS_CPU_MODEL=mpc555
16
17# This is the actual bsp directory used during the build process.
18RTEMS_BSP_FAMILY=ss555
19
20#  This contains the compiler options necessary to select the CPU model
21#  and (hopefully) optimize for it.
22#
23CPU_CFLAGS = -mcpu=$(GCC_CPU_MODEL) -D$(RTEMS_CPU_MODEL) -D$(RTEMS_BSP_FAMILY)
24
25# Debugging flags:  If we debug with optimization on, single-stepping
26# sometimes looks a little odd, but there won't be any surprises later.
27CFLAGS_DEBUG_V += -O4 -ggdb
28CXXFLAGS_DEBUG_V += -O4 -ggdb
29
30# optimize flag: typically -O, could use -O4 or -fast
31# -O4 is ok for RTEMS
32# NOTE: some level of -O may be actually required by inline assembler
33CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
34CXXFLAGS_OPTIMIZE_V=-O4
35
36define make-exe
37        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) $(SS555_LDFLAGS) \
38            -o $(basename $@)_sym.exe $(LINK_OBJS) $(LINK_LIBS)
39        $(NM) -g -n $(basename $@)_sym.exe > $(basename $@).nm
40        cp $(basename $@)_sym.exe $(basename $@).exe
41        $(STRIP) $(basename $@).exe
42        $(SIZE) $(basename $@)_sym.exe
43endef
44
45# Miscellaneous additions go here
46
47# Override default start file
48START_BASE=
49
Note: See TracBrowser for help on using the repository browser.