source: rtems/make/custom/ss555.cfg @ 7d12e020

4.104.114.84.95
Last change on this file since 7d12e020 was 7d12e020, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/18/07 at 11:24:48

Add -g to CFLAGS_OPTIMIZE_V.

  • 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
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# optimize flag: typically -O2
26CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
27
28define make-exe
29        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) $(SS555_LDFLAGS) \
30            -o $(basename $@)_sym.exe $(LINK_OBJS) $(LINK_LIBS)
31        $(NM) -g -n $(basename $@)_sym.exe > $(basename $@).nm
32        cp $(basename $@)_sym.exe $(basename $@).exe
33        $(STRIP) $(basename $@).exe
34        $(SIZE) $(basename $@)_sym.exe
35endef
36
37# Miscellaneous additions go here
38
39# Override default start file
40START_BASE=
41
Note: See TracBrowser for help on using the repository browser.