source: rtems/make/custom/csb337.cfg @ 7f27838

4.104.114.84.95
Last change on this file since 7f27838 was 7f27838, checked in by Jay Monkman <jtm@…>, on 07/15/04 at 06:07:34

2004-07-15 Jay Monkman

  • custom/csb336.cfg, custom/csb337.cfg: New files.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1#
2#  Config file for Cogent CSB337 - AT91RM9200 SBC
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=arm920
10RTEMS_CPU_MODEL=at91rm9200
11
12# This is the actual bsp directory used during the build process.
13RTEMS_BSP_FAMILY=csb337
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) -mstructure-size-boundary=8 -msoft-float
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.