source: rtems/make/custom/rtl22xx.cfg @ 6455dde

4.104.114.84.95
Last change on this file since 6455dde was 6455dde, checked in by Joel Sherrill <joel.sherrill@…>, on May 9, 2007 at 6:47:22 PM

2007-05-09 Joel Sherrill <joel.sherrill@…>

  • leaf.cfg, compilers/gcc-no_bsp.cfg: Add optional manager stub for Classic API Barrier.
  • Property mode set to 100644
File size: 856 bytes
Line 
1#
2#  Config file for LPC22xx board
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=arm
10RTEMS_CPU_MODEL=lpc22xx
11
12# This is the actual bsp directory used during the build process.
13RTEMS_BSP_FAMILY=rtl22xx
14
15#  This contains the compiler options necessary to select the CPU model
16#  and (hopefully) optimize for it.
17#
18CPU_CFLAGS = -mcpu=arm7tdmi -mstructure-size-boundary=8 -mapcs-frame
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=-Os -g -DNDEBUG
25
26define make-exe
27        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \
28            $(LINK_OBJS) $(LINK_LIBS) -Wl,-Map,$(basename $@).map
29        $(NM) -g -n $(basename $@).exe > $(basename $@).num
30        $(SIZE) $(basename $@).exe
31endef
32
33# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.