source: rtems/make/custom/p4650.cfg @ c801aba

4.104.114.84.95
Last change on this file since c801aba was c801aba, checked in by Joel Sherrill <joel.sherrill@…>, on 10/25/00 at 16:53:51

2000-10-24 Joel Sherrill <joel@…>

  • custom/p4600.cfg, custom/p4650.cfg: Commented out RTEMS_CPU definition since this information can be picked up from autoconf generated files. These BSPs are shared by the mips and mips64orion "ports."
  • Property mode set to 100644
File size: 1.8 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
9# I think we can get this from the generated target.cfg.
10# RTEMS_CPU=mips
11RTEMS_CPU_MODEL=R4650
12
13# This is the actual bsp directory used during the build process.
14RTEMS_BSP_FAMILY=p4000
15
16CPU_CFLAGS=-m4650 -G0
17CCMIPS_CFLAGS_CPU=-cpu=r4650
18
19CPU_DEFINES+=-DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3
20
21#  This section makes the target dependent options file.
22
23define make-target-options
24endef
25
26# optimize flag: typically -0, could use -O4 or -fast
27# -O4 is ok for RTEMS
28CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
29
30# The following are definitions of make-exe which will work using ld as
31# is currently required.  It is expected that as of gcc 2.8, the end user
32# will be able to override parts of the compilers specs and link using gcc.
33
34ifeq ($(RTEMS_USE_GCC272),yes)
35# This rule was used in 3.6.0
36#       $(CC) $(LDFLAGS) -nostdlib -o $(basename $@).exe \
37#           -T$(PROJECT_RELEASE)/lib/linkcmds $(LINK_FILES) $(LD_PATHS:%=-L %)
38
39define make-exe
40        $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \
41            $(START_FILE) $(LINK_OBJS) \
42            --start-group $(LINK_LIBS) --end-group $(LD_LIBS)
43        $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec1
44        $(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec
45        $(RM) $(basename $@).srec1
46        $(NM) -n $(basename $@).exe > $(basename $@).num
47        $(SIZE) $(basename $@).exe
48endef
49else
50define make-exe
51        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
52            $(LINK_OBJS) $(LINK_LIBS) $(LD_LIBS)
53        $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec1
54        $(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec
55        $(RM) $(basename $@).srec1
56        $(NM) -n $(basename $@).exe > $(basename $@).num
57        $(SIZE) $(basename $@).exe
58endef
59endif
60
61# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.