source: rtems/make/custom/p4650.cfg @ 11853d0

4.104.114.84.95
Last change on this file since 11853d0 was 2f5c2f0, checked in by Joel Sherrill <joel.sherrill@…>, on 03/05/04 at 18:34:13

2004-03-05 Joel Sherrill <joel@…>

  • custom/p4650.cfg: Remove obsolete variables and get closer to gcc 3.x support.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1#
2#  Config file for the algorithmics p4000 evaluation board with R4650 cpu
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU_MODEL=R4650
10
11# This is the actual bsp directory used during the build process.
12RTEMS_BSP_FAMILY=p4000
13
14#  This contains the compiler options necessary to select the CPU model
15#  and (hopefully) optimize for it.
16# gcc 2.95.x and 3.0
17#CPU_CFLAGS = -m4650 -mips3 -G0
18# gcc 3.1 and newer
19CPU_CFLAGS = -march=r4650 -msingle-float -G0
20
21# optimize flag: typically -0, could use -O4 or -fast
22# -O4 is ok for RTEMS
23CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
24
25# The following are definitions of make-exe which will work using ld as
26# is currently required.  It is expected that as of gcc 2.8, the end user
27# will be able to override parts of the compilers specs and link using gcc.
28
29define make-exe
30        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
31            $(LINK_OBJS) $(LINK_LIBS) $(LD_LIBS)
32        $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec1
33        $(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec
34        $(RM) $(basename $@).srec1
35        $(NM) -n $(basename $@).exe > $(basename $@).num
36        $(SIZE) $(basename $@).exe
37endef
38
39# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.