source: rtems/make/custom/edb7312.cfg @ 23098e5f

4.104.114.84.95
Last change on this file since 23098e5f was 23098e5f, checked in by Joel Sherrill <joel.sherrill@…>, on 11/13/02 at 17:56:58

2002-11-13 Jay Monkman <jtm@…>

  • custom/edb7312.cfg: New file.
  • Property mode set to 100644
File size: 1.0 KB
Line 
1#
2#  Config file for Cirrus/Cogent EDB7312 eval board
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=edb7312
14
15#  This contains the compiler options necessary to select the CPU model
16#  and (hopefully) optimize for it.
17#
18CPU_CFLAGS = -mcpu=$(RTEMS_CPU_MODEL) -mstructure-size-boundary=8 
19
20# optimize flag: typically -0, could use -O4 or -fast
21# -O4 is ok for RTEMS
22# NOTE2: some level of -O may be actually required by inline assembler (at least
23# -O2 so far.
24CFLAGS_OPTIMIZE_V=-O3
25#CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align
26
27# debug flags: typically none, but at least -O1 is required due to this
28# BSP using inlined code
29CFLAGS_DEBUG_V = -O1
30#CFLAGS_DEBUG_V = -O1 -mmultiple -mstring -mstrict-align
31
32
33define make-exe
34        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \
35            $(LINK_OBJS) $(LINK_LIBS)
36        $(NM) -g -n $(basename $@).exe > $(basename $@).num
37        $(SIZE) $(basename $@).exe
38endef
39
40# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.