source: rtems/make/custom/shsim.cfg @ 227ae749

4.104.114.84.95
Last change on this file since 227ae749 was 227ae749, checked in by Joel Sherrill <joel.sherrill@…>, on 01/22/01 at 14:03:44

2001-01-22 Ralf Corsepius <corsepiu@…>

  • aclocal/bsp-alias.m4, aclocal/check-bsps.m4: Add simsh7032 and simsh7045.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1#
2#  Config file for the sh simulator in gdb
3#
4#  $Id$
5#
6
7HZ=20000000
8
9include $(RTEMS_ROOT)/make/custom/default.cfg
10
11RTEMS_CPU=sh
12RTEMS_CPU_MODEL=sh7032
13
14# This is the actual bsp directory used during the build process.
15RTEMS_BSP_FAMILY=shsim
16
17# BSP specific preprocessor flags.
18# These should only be used in BSP dependent directories.
19BSP_CPPFLAGS=-DHZ=$(HZ)
20
21#  This contains the compiler options necessary to select the CPU model
22#  and (hopefully) optimize for it.
23#
24CPU_CFLAGS=-m1
25
26# optimize flag: typically -0, could use -O4 or -fast
27# -O4 is ok for RTEMS
28# CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures
29CFLAGS_OPTIMIZE_V=-O2 -g
30
31#  This section makes the target dependent options file.
32
33define make-target-options
34endef
35
36# The following are definitions of make-exe which will work using ld as
37# is currently required.  It is expected that as of gcc 2.8, the end user
38# will be able to override parts of the compilers specs and link using gcc.
39
40define make-exe
41        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
42            $(LDLIBS) -o $@ \
43            $(LINK_OBJS) $(LINK_LIBS)
44        $(NM) -g -n $@ > $(basename $@).num
45        $(SIZE) $@
46endef
47
48# Miscellaneous additions go here
49
Note: See TracBrowser for help on using the repository browser.