source: rtems/make/custom/mvme2307.cfg @ 1614be8

4.104.114.84.95
Last change on this file since 1614be8 was 1614be8, checked in by Joel Sherrill <joel.sherrill@…>, on 11/14/01 at 20:44:46

2001-11-14 Joel Sherrill <joel@…>

  • custom/eth_comm.cfg, custom/mbx860_005b.cfg, custom/mbx8xx.cfg, custom/mcp750.cfg, custom/mpc8260ads.cfg, custom/mvme2307.cfg: These are new exception processing model BSPs and thus do not need to define PPC_USE_SPRG.
  • Property mode set to 100644
File size: 2.5 KB
Line 
1#
2#  Config file for the PowerPC 604 based mvme2307
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=powerpc
10RTEMS_CPU_MODEL=mpc604
11RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new
12
13# This is the actual bsp directory used during the build process.
14RTEMS_BSP_FAMILY=motorola_powerpc
15
16#  This section makes the target dependent options file.
17
18#  PPC_VECTOR_FILE_BASE (PowerPC)
19#     This defines the base address of the exception table.
20#     NOTE: Vectors are actually at 0xFFF00000 but file starts at offset 0x0100
21
22define make-target-options
23        @echo "#define PPCN_60X_USE_DINK 0"                   >>$@
24        @echo "#define PPCN_60X_USE_NONE 1"                   >>$@
25        @echo "#define PPC_USE_DATA_CACHE 1"                   >>$@
26        @echo "#define PPC_VECTOR_FILE_BASE 0x0100"            >>$@
27endef
28
29#  This contains the compiler options necessary to select the CPU model
30#  and (hopefully) optimize for it.
31#
32CPU_CFLAGS = -mcpu=604 -mmultiple -mstring -mstrict-align
33
34# optimize flag: typically -0, could use -O4 or -fast
35# -O4 is ok for RTEMS
36# NOTE: some level of -O may be actually required by inline assembler
37#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
38CFLAGS_OPTIMIZE_V = -O4
39
40# debug flags: typically none, but at least -O1 is required due to this
41# BSP using inlined code
42CFLAGS_DEBUG_V = -O1
43
44# profile flags: typically none, but at least -O1 is required due to this
45# BSP using inlined code
46CFLAGS_PROFILE_V = -O1   
47
48# The following is a linkcmds file which will work without using the
49# -specs system in gcc 2.8.
50#       $(LD) $(XLDFLAGS) -T $(LINKCMDS) \
51#         -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
52#       $(LD) $(XLDFLAGS) -Ttext 0x20000 \
53#         -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
54
55#       $(CC) -mmvme -mrtems -nostartfiles -mcpu=603 \
56#           -o $(basename $@).exe -L $(PROJECT_RELEASE)/lib \
57#            $(START_FILE) $(LINK_OBJS) \
58#            $(LD_LIBS) \
59#           -Wl,-\( -Wl,-lc -Wl,-lrtemsall -Wl,-lgcc -Wl,-\)
60define make-exe
61        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
62           -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
63        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
64        $(SIZE) $(basename $@).nxe
65        $(OBJCOPY) $(basename $@).nxe rtems -O binary -R .comment -S
66        gzip -vf9 rtems
67        $(LD) -o $@ $(PROJECT_RELEASE)/lib/bootloader.o --just-symbols=$(basename $@).nxe \
68        -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
69        -Map $(basename $@).map && chmod 755 $@
70        rm -f rtems.gz
71endef
72
73# Miscellaneous additions go here
74
75# No start file
76START_BASE=
Note: See TracBrowser for help on using the repository browser.