source: rtems/make/custom/rtl22xx.cfg @ ff114dc5

4.104.114.84.95
Last change on this file since ff114dc5 was 412042aa, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/26/07 at 03:27:01

2007-04-26 Ralf Corsépius <ralf.corsepius@…>

  • custom/rtl22xx.cfg: Cleanup.
  • Property mode set to 100644
File size: 819 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=-O2 -g
25
26define make-exe
27        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \
28            $(LINK_OBJS) $(LINK_LIBS)
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.