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

4.104.114.95
Last change on this file since b853d288 was b853d288, checked in by Joel Sherrill <joel.sherrill@…>, on 01/31/08 at 19:06:52

2008-01-31 Joel Sherrill <joel.sherrill@…>

  • custom/ss555.cfg: Add CVS Id.
  • Property mode set to 100644
File size: 1.1 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#  $Id$
11#
12
13include $(RTEMS_ROOT)/make/custom/default.cfg
14
15RTEMS_CPU=powerpc
16GCC_CPU_MODEL=505
17RTEMS_CPU_MODEL=mpc555
18
19# This is the actual bsp directory used during the build process.
20RTEMS_BSP_FAMILY=ss555
21
22#  This contains the compiler options necessary to select the CPU model
23#  and (hopefully) optimize for it.
24#
25CPU_CFLAGS = -mcpu=$(GCC_CPU_MODEL) -D$(RTEMS_CPU_MODEL) -D$(RTEMS_BSP_FAMILY)
26
27# optimize flag: typically -O2
28CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
29
30define make-exe
31        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) $(SS555_LDFLAGS) \
32            -o $(basename $@)_sym.exe $(LINK_OBJS) $(LINK_LIBS)
33        $(NM) -g -n $(basename $@)_sym.exe > $(basename $@).nm
34        cp $(basename $@)_sym.exe $(basename $@).exe
35        $(STRIP) $(basename $@).exe
36        $(SIZE) $(basename $@)_sym.exe
37endef
38
39# Miscellaneous additions go here
40
41# Override default start file
42START_BASE=
43
Note: See TracBrowser for help on using the repository browser.