source: rtems/make/custom/mvme2307.cfg @ 206a0b38

4.104.114.84.95
Last change on this file since 206a0b38 was 206a0b38, checked in by Joel Sherrill <joel.sherrill@…>, on 06/19/01 at 14:27:43

2001-06-19 Ralf Corsepius <corsepiu@…>

custom/Cygwin-posix.cfg: Remove -USTRICT_ANSI, make-target-options.
custom/FreeBSD-posix.cfg: Remove make-target-options.
custom/HPUX9-posix.cfg: Dito.
custom/Linux-posix.cfg: Dito.
custom/Solaris-posix.cfg: Dito.
custom/arm_bare_bsp.cfg: Dito.
custom/armulator.cfg: Dito.
custom/erc32.cfg: Remove CONSOLE_USE_POLLED, CONSOLE_USE_INTERRUPTS.
custom/i386ex.cfg: Remove make-target-options.
custom/i960sim.cfg: Remove make-target-options.
custom/mvme2307.cfg: Remove CONSOLE_USE_POLLED, CONSOLE_USE_INTERRUPTS.
custom/rxgen960.cfg: Remove make-target-options, cleanup comments.
custom/score603e.cfg: Remove CONSOLE_USE_POLLED, CONSOLE_USE_INTERRUPTS.
custom/vegaplus.cfg: Remove make-target-options.

  • Property mode set to 100644
File size: 3.1 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#
22#  PPC_USE_SPRG (RTEMS PowerPC port)
23#     If defined, then the PowerPC specific code in RTEMS will use some
24#     of the special purpose registers to slightly optimize interrupt
25#     response time.  The use of these registers can conflict with
26#     other tools like debuggers.
27#
28
29define make-target-options
30        @echo "#define PPCN_60X_USE_DINK 0"                   >>$@
31        @echo "#define PPCN_60X_USE_NONE 1"                   >>$@
32        @echo "#define PPC_USE_DATA_CACHE 1"                   >>$@
33        @echo "#define PPC_VECTOR_FILE_BASE 0x0100"            >>$@
34        @echo "#define PPC_USE_SPRG  1"
35endef
36
37#  This contains the compiler options necessary to select the CPU model
38#  and (hopefully) optimize for it.
39#
40CPU_CFLAGS = -mcpu=604 -mmultiple -mstring -mstrict-align
41
42# optimize flag: typically -0, could use -O4 or -fast
43# -O4 is ok for RTEMS
44# NOTE: some level of -O may be actually required by inline assembler
45#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
46CFLAGS_OPTIMIZE_V = -O4
47
48# debug flags: typically none, but at least -O1 is required due to this
49# BSP using inlined code
50CFLAGS_DEBUG_V = -O1
51
52# profile flags: typically none, but at least -O1 is required due to this
53# BSP using inlined code
54CFLAGS_PROFILE_V = -O1   
55
56# The following is a linkcmds file which will work without using the
57# -specs system in gcc 2.8.
58#       $(LD) $(XLDFLAGS) -T $(LINKCMDS) \
59#         -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
60#       $(LD) $(XLDFLAGS) -Ttext 0x20000 \
61#         -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
62
63#       $(CC) -mmvme -mrtems -nostartfiles -mcpu=603 \
64#           -o $(basename $@).exe -L $(PROJECT_RELEASE)/lib \
65#            $(START_FILE) $(LINK_OBJS) \
66#            $(LD_LIBS) \
67#           -Wl,-\( -Wl,-lc -Wl,-lrtemsall -Wl,-lgcc -Wl,-\)
68define make-exe
69        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
70        $(NM) -g -n $@ > $(basename $@).num
71        $(SIZE) $@
72#    The following commands make a bootable image but will not work outside
73#    the build tree.
74#       test -d ${PROJECT_RELEASE}/bin || mkdir ${PROJECT_RELEASE}/bin
75#       cp $@ $(PROJECT_ROOT)/powerpc-rtems/c/mvme2307/lib/libbsp/powerpc/$(RTEMS_BSP_FAMILY)/bootloader/$(ARCH); \
76#       ( cd $(PROJECT_ROOT)/powerpc-rtems/c/mvme2307/lib/libbsp/powerpc/$(RTEMS_BSP_FAMILY)/bootloader; \
77#       $(MAKE) bootloader BINARY_LOADED=$@; )
78#       f=`basename $@ .exe`; \
79#        cp $(PROJECT_ROOT)/powerpc-rtems/c/mvme2307/lib/libbsp/powerpc/$(RTEMS_BSP_FAMILY)/bootloader/bootloader \
80#           ${PROJECT_RELEASE}/bin/$${f}$(LIB_VARIANT).exe \
81#       && chmod 755 \
82#         ${PROJECT_RELEASE}/bin/$${f}$(LIB_VARIANT).exe
83endef
84
85# Miscellaneous additions go here
86
87# No start file
88START_BASE=
Note: See TracBrowser for help on using the repository browser.