source: rtems/make/custom/mbx8xx.cfg @ 002437c

4.104.114.84.95
Last change on this file since 002437c was 14d345d2, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/18/07 at 07:10:51

2007-01-18 Ralf Corsépius <ralf.corsepius@…>

  • custom/av5282.cfg, custom/bare.cfg, custom/dmv152.cfg, custom/gen405.cfg, custom/gen5200.cfg, custom/gen68302.cfg, custom/gen68340.cfg, custom/gen68360.cfg, custom/helas403.cfg, custom/hurricane.cfg, custom/i386ex.cfg, custom/idp.cfg, custom/mbx8xx.cfg, custom/mcf5206elite.cfg, custom/mcf5235.cfg, custom/mcp750.cfg, custom/mpc8260ads.cfg, custom/mrm332.cfg, custom/mtx603e.cfg, custom/mvme136.cfg, custom/mvme147.cfg, custom/mvme162.cfg, custom/mvme162lx.cfg, custom/mvme167.cfg, custom/mvme2100.cfg, custom/mvme2307.cfg, custom/mvme5500.cfg, custom/ods68302.cfg, custom/pc386.cfg, custom/psim.cfg, custom/rbtx4925.cfg, custom/sim68000.cfg, custom/simcpu32.cfg, custom/ss555.cfg, custom/ts_386ex.cfg, custom/uC5282.cfg: CFLAGS_OPTIMIZE_V = -O2.
  • Property mode set to 100644
File size: 1.9 KB
Line 
1#
2#  Config file for a PowerPC MPC821- or MPC860-based MBX card
3#
4#  This file is derived from:
5#
6#  Config file for a PowerPC 403 based helas403 card
7#  Config file for MPC860 based Ethernet Comm Board
8#
9
10include $(RTEMS_ROOT)/make/custom/default.cfg
11
12RTEMS_CPU=powerpc
13RTEMS_CPU_MODEL=mpc$(8XX_CPU_TYPE)
14
15# This is the actual bsp directory used during the build process.
16RTEMS_BSP_FAMILY=mbx8xx
17
18#  This section makes the target dependent options file.
19#
20#  Note that RTEMS_BSP matches the RTEMS_MBX_MODEL. Its value must be
21#  defined in targopts.h, so the few places that require different code
22#  for different MBX models can be distinguished. The value of
23#  RTEMS_BSP is already defined in targopts.h and is one of:
24#     mbx860_001    mbx821_001
25#     mbx860_002    mbx821_002
26#     mbx860_003    mbx821_003
27#     mbx860_004    mbx821_004
28#     mbx860_005    mbx821_005
29#     mbx860_001b   mbx821_001b
30#     mbx860_002b   mbx821_002b
31#     mbx860_003b   mbx821_003b
32#     mbx860_004b   mbx821_004b
33#     mbx860_005b   mbx821_005b
34#     mbx860_006b   mbx821_006b
35
36#  The specific CPU model is defined, so the few places that require
37#  different code for the MPC860 and MPC821 can be distinguished.
38#  Either mpc860 or mpc821 is defined.
39#
40#  MBX8xx-specific options:
41#
42
43#  This contains the compiler options necessary to select the CPU model
44#  and (hopefully) optimize for it.
45#
46CPU_CFLAGS = -mcpu=$(8XX_CPU_TYPE) -Dmpc$(8XX_CPU_TYPE) -D$(RTEMS_MBX_MODEL)
47
48
49# optimize flag: typically -O2
50CFLAGS_OPTIMIZE_V = -O2 -fno-keep-inline-functions
51
52define make-exe
53        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) $(MBX8xx_LDFLAGS) \
54            -o $(basename $@)_sym.exe $(LINK_OBJS) $(LINK_LIBS)
55        $(NM) -g -n $(basename $@)_sym.exe > $(basename $@).nm
56        cp $(basename $@)_sym.exe $(basename $@).exe
57        $(STRIP) $(basename $@).exe
58        $(SIZE) $(basename $@)_sym.exe
59endef
60
61# Miscellaneous additions go here
62
63# Override default start file
64START_BASE=
65
Note: See TracBrowser for help on using the repository browser.