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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [make/] [custom/] [simsh4.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
# simsh4.cfg
3
#
4
# default configuration for Hitachi SH4 architecture simulator
5
#
6
# Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
7
# Author: Victor V. Vengerov 
8
#
9
#  simsh4.cfg,v 1.5 2002/03/28 13:51:54 joel Exp
10
#
11
 
12
include $(RTEMS_ROOT)/make/custom/default.cfg
13
 
14
RTEMS_CPU=sh
15
RTEMS_CPU_MODEL=sh7750
16
 
17
# This is the actual bsp directory used during the build process.
18
RTEMS_BSP_FAMILY=simsh4
19
 
20
#
21
#  This contains the compiler options necessary to select the CPU model
22
#  and (hopefully) optimize for it.
23
#
24
# Seems to be good without initialisation FPSCR.
25
# Also works with SH4_FPSCR_DN bit set.
26
#CPU_CFLAGS= -m4-single-only -ml
27
#
28
# It works with SH4_FPSCR_PR bit set
29
CPU_CFLAGS= -m4 -ml
30
 
31
 
32
# debug flags:
33
CFLAGS_DEBUG_V = -O0 -ggdb
34
 
35
# optimize flag: typically -0, could use -O4 or -fast
36
# -O4 is ok for RTEMS
37
CFLAGS_OPTIMIZE_V = -O4
38
 
39
# The following are definitions of make-exe which will work using ld as
40
# is currently required.  It is expected that as of gcc 2.8, the end user
41
# will be able to override parts of the compilers specs and link using gcc.
42
 
43
define make-exe
44
        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -Wl,-Map,$(basename $@).map \
45
            $(LDLIBS) -o $@ \
46
            $(LINK_OBJS) $(LINK_LIBS)
47
        $(NM) -n $@ > $(basename $@).num
48
        $(SIZE) $@
49
endef
50
 
51
# Miscellaneous additions go here

powered by: WebSVN 2.1.0

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