source: rtems/make/custom/p4000.cfg @ 06318a8

4.104.114.84.9
Last change on this file since 06318a8 was 06318a8, checked in by Joel Sherrill <joel.sherrill@…>, on Feb 5, 2004 at 5:35:47 PM

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

  • custom/p4000.cfg, custom/p4600.cfg, custom/p4650.cfg: Re-added these -- copied from the 4.6 branch.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1#
2#  Config file for the algorithmics p4000 evaluation board
3#
4#  $Id$
5#
6
7# NOTE: This file is shared between the mips and mips64orion
8#       "ports".  The following defines are needed by the mips64orion
9#       but not the mips.
10ifeq ($(RTEMS_CPU),mips64orion)
11CPU_DEFINES+=-DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3
12endif
13
14# This is the actual bsp directory used during the build process.
15RTEMS_BSP_FAMILY=p4000
16
17#  This contains the compiler options necessary to select the CPU model
18#  and (hopefully) optimize for it.
19CPU_CFLAGS = -mips3 -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)
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
40
Note: See TracBrowser for help on using the repository browser.