OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [make/] [custom/] [p4600.cfg] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
#
2
#  Config file for the algorithmics p4000 evaluation board with R4600 cpu
3
#
4
#  p4600.cfg,v 1.21 2002/06/14 17:31:20 joel Exp
5
#
6
 
7
include $(RTEMS_ROOT)/make/custom/default.cfg
8
 
9
RTEMS_CPU_MODEL=R4600
10
 
11
# This is the actual bsp directory used during the build process.
12
RTEMS_BSP_FAMILY=p4000
13
 
14
# gcc 2.95.x and 3.0
15
#CPU_CFLAGS = -m4600 -mips3 -G0
16
# gcc 3.1 and newer
17
CPU_CFLAGS = -march=4600 -G0
18
CCMIPS_CFLAGS_CPU=-cpu=r4600
19
 
20
ifeq ($(RTEMS_CPU),mips64orion)
21
CPU_DEFINES+=-DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3
22
endif
23
 
24
#  This contains the compiler options necessary to select the CPU model
25
#  and (hopefully) optimize for it.
26
CPU_CFLAGS = -mips3 -G0
27
 
28
# optimize flag: typically -0, could use -O4 or -fast
29
# -O4 is ok for RTEMS
30
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
31
 
32
# The following are definitions of make-exe which will work using ld as
33
# is currently required.  It is expected that as of gcc 2.8, the end user
34
# will be able to override parts of the compilers specs and link using gcc.
35
 
36
define make-exe
37
        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
38
            -o $@ $(LINK_OBJS) $(LINK_LIBS)
39
        $(OBJCOPY) -O srec $@ $(basename $@).srec1
40
        $(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec
41
        $(RM) $(basename $@).srec1
42
        $(NM) -n $@ > $(basename $@).num
43
        $(SIZE) $@
44
endef
45
 
46
# Miscellaneous additions go here
47
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.