source: rtems/make/custom/mpc8260ads.cfg @ 8b9f8b8

4.104.114.84.95
Last change on this file since 8b9f8b8 was 8b9f8b8, checked in by Joel Sherrill <joel.sherrill@…>, on 04/18/02 at 13:07:35

2002-04-18 Ralf Corsepius <corsepiu@…>

  • custom/dmv177.cfg: Add -D_OLD_EXCEPTIONS -Dppc603e to CPU_CFLAGS. Remove obsolete comments.
  • custom/eth_comm.cfg: Remove make-target-options. Add -Dmpc$(CPU_TYPE) -DPPC_ABI=PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF to CPU_CFLAGS.
  • custom/gen405.cfg: Add -D_OLD_EXCEPTIONS -Dppc405 to CPU_CFLAGS.
  • custom/helas403.cfg: Add -D_OLD_EXCEPTIONS -Dppc403 to CPU_CFLAGS.
  • custom/mbx8xx.cfg: Remove make-target-options. Add -Dmpc$(CPU_TYPE) -D$(RTEMS_MBX_MODEL) to CPU_CFLAGS. Remove obsolete comments.
  • custom/mcp750.cfg: Add -Dmpc750 to CPU_CFLAGS. Remove obsolete comments.
  • custom/mpc8260ads.cfg: Remove make-target-options. Add -Dmpc8260 -DPPC_ABI=PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF to CPU_CFLAGS.
  • custom/mvme2307.cfg: Add -Dmpc604 to CPU_CFLAGS. Remove obsolete comments.
  • custom/ppcn_60x.cfg: Add -D_OLD_EXCEPTIONS -Dppc603e to CPU_CFLAGS. Remove obsolete comments.
  • custom/psim.cfg: Add -D_OLD_EXCEPTIONS -Dppc603e to CPU_CFLAGS. Remove obsolete comments.
  • custom/score603e.cfg: Add -D_OLD_EXCEPTIONS -Dppc603e to CPU_CFLAGS. Remove obsolete comments.
  • Property mode set to 100644
File size: 1.5 KB
Line 
1#
2#  Config file for MPC8260 based Motorola ADS board
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=powerpc
10RTEMS_CPU_MODEL=mpc8260
11CPU_TYPE=8260
12
13# This is the actual bsp directory used during the build process.
14RTEMS_BSP_FAMILY=mpc8260ads
15
16#  PPC_ABI (PowerPC)
17#     This defines the calling convention (Application Binary Interface)
18#     used in this configuration.  EABI is the only one supported.
19#     This BSP was initially developed using the PowerOpen ABI.
20#
21#  PPC_ASM (PowerPC)
22#     This defines the assembly language format used in this configuration.
23#     ELF is the only one supported.
24
25#  This contains the compiler options necessary to select the CPU model
26#  and (hopefully) optimize for it.
27#
28# CPU_CFLAGS = -mcpu=$(CPU_TYPE) -mstrict-align
29CPU_CFLAGS = -mcpu=603e -mstrict-align -Dmpc8260 \
30  -DPPC_ABI=PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF
31
32# optimize flag: typically -0, could use -O4 or -fast
33# -O4 is ok for RTEMS
34# NOTE: some level of -O may be actually required by inline assembler
35CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
36
37# The following are definitions of make-exe which will work using ld as
38# is currently required.  It is expected that as of gcc 2.8, the end user
39# will be able to override parts of the compilers specs and link using gcc.
40
41define make-exe
42        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
43            $(LINK_OBJS) $(LINK_LIBS)
44        $(NM) -g -n $@ > $(basename $@).num
45        $(SIZE) $@
46endef
47
48# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.