source: rtems/make/custom/mpc8260ads.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: 866 bytes
Line 
1#
2#  Config file for MPC8260 based Motorola ADS board
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=powerpc
10RTEMS_CPU_MODEL=mpc8260
118XX_CPU_TYPE=8260
12
13# This is the actual bsp directory used during the build process.
14RTEMS_BSP_FAMILY=mpc8260ads
15
16#  This contains the compiler options necessary to select the CPU model
17#  and (hopefully) optimize for it.
18#
19# CPU_CFLAGS = -mcpu=$(8XX_CPU_TYPE) -mstrict-align
20CPU_CFLAGS = -mcpu=603e -mstrict-align -Dmpc8260
21
22# optimize flag: typically -O2
23CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
24
25# The following are definitions of make-exe which will work using ld as
26# is currently required.
27
28define make-exe
29        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
30            $(LINK_OBJS) $(LINK_LIBS)
31        $(NM) -g -n $@ > $(basename $@).num
32        $(SIZE) $@
33endef
34
35# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.