source: rtems/make/custom/c4xsim.cfg @ c801aba

4.104.114.84.95
Last change on this file since c801aba was 93d31be, checked in by Joel Sherrill <joel.sherrill@…>, on 07/27/00 at 17:44:11

Patch rtems-rc-20000713-1-cvs.diff from Ralf Corsepius <corsepiu@…>
Removed obsolete flags from new custom files.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1#
2#  Configuration file for the GDB C4x simulator
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9ifeq ($(RTEMS_CPU_MODEL),)
10RTEMS_BSP=c4xsim
11RTEMS_CPU_MODEL=c40
12CPU_CFLAGS=-mcpu=40 #-msmall
13endif
14
15# XXX add this temporarily until c4x-rtems target defines this.
16CPU_CFLAGS += -D__rtems__
17
18# This is the actual bsp directory used during the build process.
19RTEMS_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
25CFLAGS_OPTIMIZE_V=-O1
26
27#  This section makes the target dependent options file.
28define make-target-options
29endef
30
31# this target has no start file
32START_BASE=
33
34# The following are definitions of make-exe which will work using ld as
35# is currently required.  It is expected that as of gcc 2.8, the end user
36# will be able to override parts of the compilers specs and link using gcc.
37
38define make-exe
39        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
40            $(LDLIBS) -o $@ \
41            $(LINK_OBJS) $(LINK_LIBS)
42        $(NM) -g -n $@ > $(basename $@).num
43        $(SIZE) $@
44endef
45
46# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.