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

Subversion Repositories or1k

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

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

powered by: WebSVN 2.1.0

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