source: rtems/make/custom/gp32.cfg @ c999848

4.104.114.84.95
Last change on this file since c999848 was c999848, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/22/05 at 13:21:59

Replace .gxb with .elf.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1#
2#  Config file for  ARM GP32
3#
4#  gp32.cfg,v 1.0.0.0 2005/01/02 07:46:06 loki Exp
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=arm
10RTEMS_CPU_MODEL=s3c2400
11
12# This is the actual bsp directory used during the build process.
13RTEMS_BSP_FAMILY=gp32
14
15#  This contains the compiler options necessary to select the CPU model
16#  and (hopefully) optimize for it.
17#
18CPU_CFLAGS = -mcpu=arm920t -mstructure-size-boundary=32 -O3
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=
25
26define make-exe
27        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \
28            $(LINK_OBJS) $(LINK_LIBS)
29        $(OBJCOPY) -O binary $(basename $@).exe $(basename $@).elf
30        $(NM) -g -n $(basename $@).exe > $(basename $@).num
31        $(SIZE) $(basename $@).exe
32endef
33
34define make-cxx-exe
35        $(LINK.cc) $(AM_CFLAGS) $(AM_CXXFLAGS) $(AM_LDFLAGS) -o $@ \
36            $(LINK_OBJS) $(LINK_LIBS)
37        $(OBJCOPY) -O binary $(basename $@).exe $(basename $@).elf
38        $(NM) -g -n $(basename $@).exe > $(basename $@).num
39        $(SIZE) $(basename $@).exe
40endef
41
42# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.