source: rtems/make/custom/arm_bare_bsp.cfg @ 45789f2

4.104.114.84.95
Last change on this file since 45789f2 was 206a0b38, checked in by Joel Sherrill <joel.sherrill@…>, on 06/19/01 at 14:27:43

2001-06-19 Ralf Corsepius <corsepiu@…>

custom/Cygwin-posix.cfg: Remove -USTRICT_ANSI, make-target-options.
custom/FreeBSD-posix.cfg: Remove make-target-options.
custom/HPUX9-posix.cfg: Dito.
custom/Linux-posix.cfg: Dito.
custom/Solaris-posix.cfg: Dito.
custom/arm_bare_bsp.cfg: Dito.
custom/armulator.cfg: Dito.
custom/erc32.cfg: Remove CONSOLE_USE_POLLED, CONSOLE_USE_INTERRUPTS.
custom/i386ex.cfg: Remove make-target-options.
custom/i960sim.cfg: Remove make-target-options.
custom/mvme2307.cfg: Remove CONSOLE_USE_POLLED, CONSOLE_USE_INTERRUPTS.
custom/rxgen960.cfg: Remove make-target-options, cleanup comments.
custom/score603e.cfg: Remove CONSOLE_USE_POLLED, CONSOLE_USE_INTERRUPTS.
custom/vegaplus.cfg: Remove make-target-options.

  • Property mode set to 100644
File size: 1.4 KB
Line 
1#
2#  Config file for  ARM 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=arm_bare_bsp
14
15#  This contains the compiler options necessary to select the CPU model
16#  and (hopefully) optimize for it.
17#
18#CPU_CFLAGS = -mcpu=arm7tdmi
19CPU_CFLAGS =
20
21# optimize flag: typically -0, could use -O4 or -fast
22# -O4 is ok for RTEMS
23# NOTE2: some level of -O may be actually required by inline assembler (at least
24# -O2 so far.
25CFLAGS_OPTIMIZE_V=
26#CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align
27
28# debug flags: typically none, but at least -O1 is required due to this
29# BSP using inlined code
30CFLAGS_DEBUG_V = -O1
31#CFLAGS_DEBUG_V = -O1 -mmultiple -mstring -mstrict-align
32
33define make-exe
34        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).obj \
35            $(LINK_OBJS) $(LINK_LIBS)
36        $(OBJCOPY) -O binary \
37            --only-section=.text \
38            --only-section=.data \
39            --only-section=.rodata \
40            --strip-unneeded $(basename $@).obj $(basename $@).bin
41        $(NM) -g -n $(basename $@).obj > $(basename $@).num
42        $(SIZE) $(basename $@).obj
43        test -d ${PROJECT_RELEASE}/bin || mkdir ${PROJECT_RELEASE}/bin
44        f=`basename $@ .exe`; \
45        cp $(basename $@).bin  $(basename $@).exe
46        cp $(basename $@).bin  ${PROJECT_RELEASE}/bin/$${f}$(LIB_VARIANT).exe
47
48endef
49
50# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.