source: rtems/make/custom/armulator.cfg @ b812f84

4.104.114.84.95
Last change on this file since b812f84 was caf88699, checked in by Joel Sherrill <joel.sherrill@…>, on 07/31/00 at 18:29:37

New bsp for simulator in gdb. Does not work yet.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1#
2#  Config file for ARMulator
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=arm
10RTEMS_CPU_MODEL=arm7tdmi
11
12# This is the actual bsp directory used during the build process.
13RTEMS_BSP_FAMILY=armulator
14
15#  This section makes the target dependent options file.
16
17#     if defined asserts do not generate code.  This is commonly used
18
19define make-target-options
20endef
21
22#  This contains the compiler options necessary to select the CPU model
23#  and (hopefully) optimize for it.
24#
25#CPU_CFLAGS = -mcpu=arm7tdmi
26CPU_CFLAGS =
27
28# optimize flag: typically -0, could use -O4 or -fast
29# -O4 is ok for RTEMS
30# NOTE2: some level of -O may be actually required by inline assembler (at least
31# -O2 so far.
32# NOTE2 Apparently nobody really knows the status or r2 and r13.
33# As far as I know, small data are pointer impose a very specific compliation
34# model => not used.
35# Currently the sdata2 and sbss2 sections are empty => r2 is not used...
36CFLAGS_OPTIMIZE_V=
37#CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align
38#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions -fvolatile-global -fvolatile -mstrict-align -mcpu=750
39
40# debug flags: typically none, but at least -O1 is required due to this
41# BSP using inlined code
42CFLAGS_DEBUG_V = -O1
43#CFLAGS_DEBUG_V = -O1 -mmultiple -mstring -mstrict-align
44
45define make-exe
46#       $(CC) -v -static -Wl,-Map -Wl,Mapfile -Wl,-T -Wl,linkcmds -Wl,-N -o $(basename $@).obj $(LINK_OBJS) $(LINK_LIBS)
47        $(LINK.c) $(LDLIBS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
48        $(NM) -g -n $(basename $@).exe > $(basename $@).num
49        $(SIZE) $(basename $@).exe
50
51endef
52
53# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.