source: rtems/make/custom/ppcn_60x.cfg @ 4d20133

4.104.114.84.95
Last change on this file since 4d20133 was 0c04c377, checked in by Joel Sherrill <joel.sherrill@…>, on 02/18/99 at 16:48:14

./clock/Makefile.in,v
./clock/clock.c,v
./console/Makefile.in,v
./console/config.c,v
./console/console.c,v
./console/console.h,v
./console/debugio.c,v
./console/i8042.c,v
./console/i8042_p.h,v
./console/i8042vga.c,v
./console/i8042vga.h,v
./console/ns16550.c,v
./console/ns16550.h,v
./console/ns16550_p.h,v
./console/ns16550cfg.c,v
./console/ns16550cfg.h,v
./console/vga.c,v
./console/vga_p.h,v
./console/z85c30.c,v
./console/z85c30.h,v
./console/z85c30_p.h,v
./console/z85c30cfg.c,v
./console/z85c30cfg.h,v
./include/Makefile.in,v
./include/bsp.h,v
./include/chain.h,v
./include/coverhd.h,v
./include/extisrdrv.h,v
./include/nvram.h,v
./include/pci.h,v
./include/tod.h,v
./network/Makefile.in,v
./network/amd79c970.c,v
./network/amd79c970.h,v
./nvram/Makefile.in,v
./nvram/ds1385.h,v
./nvram/mk48t18.h,v
./nvram/nvram.c,v
./nvram/prepnvr.h,v
./nvram/stk11c68.h,v
./pci/Makefile.in,v
./pci/pci.c,v
./start/Makefile.in,v
./start/start.s,v
./startup/Makefile.in,v
./startup/bspclean.c,v
./startup/bspstart.c,v
./startup/bsptrap.s,v
./startup/device-tree,v
./startup/genpvec.c,v
./startup/linkcmds,v
./startup/rtems-ctor.cc,v
./startup/sbrk.c,v
./startup/setvec.c,v
./startup/spurious.c,v
./startup/swap.c,v
./timer/Makefile.in,v
./timer/timer.c,v
./tod/Makefile.in,v
./tod/cmos.h,v
./tod/tod.c,v
./universe/Makefile.in,v
./universe/universe.c,v
./vectors/Makefile.in,v
./vectors/README,v
./vectors/align_h.s,v
./vectors/vectors.s,v
./wrapup/Makefile.in,v
./Makefile.in,v
./README,v
./STATUS,v
./bsp_specs,v

  • Property mode set to 100644
File size: 4.0 KB
Line 
1#
2#  Config file for a Radstone Technology Plc. PowerPC 60x based VME board
3#
4#  $Id: ppcn_60x.cfg
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=powerpc
10RTEMS_CPU_MODEL=ppc603e
11
12# This is the actual bsp directory used during the build process.
13
14RTEMS_BSP_FAMILY=ppcn_60x
15
16RTEMS_BSP=ppcn_60x
17
18#  This contains the compiler options necessary to select the CPU model
19#  This section makes the target dependent options file.
20
21#  NDEBUG (C library)
22#     if defined asserts do not generate code.  This is commonly used
23#     as a command line option.
24#
25#  RTEMS_TEST_NO_PAUSE (RTEMS tests)
26#     do not pause between screens of output in the rtems tests
27#
28#  RTEMS_DEBUG (RTEMS)
29#     If defined, debug checks in RTEMS and support library code are enabled.
30#
31#  PPCN_60X_USE_DINK           (ppcn_60x_bsp)
32#  PPCN_60X_USE_NONE          (ppcn_60x_bsp)
33#     The Score603e board can be configured with 3 ROM monitors.  Only two
34#     are appropriate for use with RTEMS.  Set exactly one of these to "1"
35#     to indicate which ROM monitor is on the board you are using.
36#
37#  PPC_VECTOR_FILE_BASE (ppc)
38#     This defines the base address of the exception table.
39#     NOTE: Vectors are actually at 0xFFF00000 but file starts at offset 0x0100
40#
41#  PPC_ABI (ppc)
42#     This defines the calling convention (Application Binary Interface)
43#     used in this configuration.  EABI is the only one supported.
44#
45#  PPC_ASM (ppc)
46#     This defines the assembly language format used in this configuration.
47#     ELF is the only one supported.
48#
49#  PPC_USE_SPRG (RTEMS PowerPC port)
50#     If defined, then the PowerPC specific code in RTEMS will use some
51#     of the special purpose registers to slightly optimize interrupt
52#     response time.  The use of these registers can conflict with
53#     other tools like debuggers.
54#
55#  PPC_USE_DATA_CACHE (RTEMS PowerPC port)
56#     If defined, then the PowerPC specific code in RTEMS will use
57#     data cache instructions to optimize the context switch code.
58#     This code can conflict with debuggers or emulators.
59#
60
61define make-target-options
62        @echo "/* #define NDEBUG 1 */ "                        >>$@
63        @echo "#define RTEMS_TEST_NO_PAUSE 1"                  >>$@
64        @echo "/* #define RTEMS_DEBUG  1 */"                   >>$@
65        @echo "#define PPCN_60X_USE_DINK 1"                   >>$@
66        @echo "#define PPCN_60X_USE_NONE 0"                   >>$@
67        @echo "#define PPC_USE_DATA_CACHE 1"                   >>$@
68        @echo "#define PPC_VECTOR_FILE_BASE 0x0100"            >>$@
69        @echo "#define PPC_ABI PPC_ABI_EABI"                   >>$@
70        @echo "#define PPC_ASM PPC_ASM_ELF"                    >>$@
71        @echo "#define PPC_USE_SPRG  0"                        >>$@
72endef
73
74#  This contains the compiler options necessary to select the CPU model
75#  and (hopefully) optimize for it.
76#
77CPU_CFLAGS = -mcpu=603
78
79# Define this to yes if this target supports multiprocessor environments.
80HAS_MP=no
81
82# optimize flag: typically -0, could use -O4 or -fast
83# -O4 is ok for RTEMS
84# NOTE: some level of -O may be actually required by inline assembler
85CFLAGS_OPTIMIZE_V=-O0 -fno-keep-inline-functions -fvolatile-global -fvolatile
86#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions -fvolatile-global -fvolatile
87
88# The following is a linkcmds file which will work without using the
89# -specs system in gcc 2.8.
90#       $(LD) $(XLDFLAGS) -T $(LINKCMDS) \
91#         -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
92#       $(LD) $(XLDFLAGS) -Ttext 0x20000 \
93#         -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
94
95#       $(CC) -mmvme -mrtems -nostartfiles -mcpu=603 \
96#           -o $(basename $@).exe -L $(PROJECT_RELEASE)/lib \
97#            $(START_FILE) $(LINK_OBJS) \
98#            $(LD_LIBS) \
99#           -Wl,-\( -Wl,-lc -Wl,-lrtemsall -Wl,-lgcc -Wl,-\)
100define make-exe
101        $(CC) $(CFLAGS) -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
102        $(NM) -g -n $(basename $@).exe > $(basename $@).num
103        $(SIZE) $(basename $@).exe
104endef
105
106# Miscellaneous additions go here
107
108# No start file
109START_BASE=
110
111DRIVER_ARCHITECTURE=vmebus
Note: See TracBrowser for help on using the repository browser.