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

Subversion Repositories or1k

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
#
2
#  Configuration file for the GDB C4x simulator
3
#
4
#  c4xsim.cfg,v 1.5 2001/12/07 12:32:09 joel Exp
5
#
6
 
7
include $(RTEMS_ROOT)/make/custom/default.cfg
8
 
9
ifeq ($(RTEMS_CPU_MODEL),)
10
RTEMS_BSP=c4xsim
11
RTEMS_CPU_MODEL=c40
12
CPU_CFLAGS=-mcpu=40 #-msmall
13
endif
14
 
15
# XXX add this temporarily until c4x-rtems target defines this.
16
CPU_CFLAGS += -D__rtems__
17
 
18
# This is the actual bsp directory used during the build process.
19
RTEMS_BSP_FAMILY=c4xsim
20
 
21
# optimize flag: typically -0, could use -O4 or -fast
22
# -O4 is ok for RTEMS
23
# -O4 is broken for the moment on the C4x gcc
24
#CFLAGS_OPTIMIZE_V=-O4
25
CFLAGS_OPTIMIZE_V=-O1
26
 
27
# this target has no start file
28
START_BASE=
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
 
34
define make-exe
35
        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
36
            $(LDLIBS) -o $@ \
37
            $(LINK_OBJS) $(LINK_LIBS)
38
        $(NM) -g -n $@ > $(basename $@).num
39
        $(SIZE) $@
40
endef
41
 
42
# Miscellaneous additions go here

powered by: WebSVN 2.1.0

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