source: rtems/c/src/lib/libbsp/powerpc/score603e/configure.ac @ 65c34da0

4.104.114.84.95
Last change on this file since 65c34da0 was 65c34da0, checked in by Joel Sherrill <joel.sherrill@…>, on 11/21/01 at 18:35:11

2001-11-21 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Add @exceptions@ to SUBDIRS.
  • configure.ac: Apply RTEMS_BSPOPTS_*(*) to merge-in settings from make/custom/score603e.cfg; Add automake conditional for SCORE_GENERATION_1; Add RTEMS_PPC_EXCEPTIONS([old]).
  • include/Makefile.am: include force-preinstall.am.
  • start/start.S: include <bspopts.h> instead of targopts.h.
  • tod/Makefile.am: Apply SCORE_GENERATION_1 conditional.
  • vectors/vector.S: include <bsp.h>.
  • wrapup/Makefile.am: Apply @exceptions@.
  • Property mode set to 100644
File size: 2.9 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ(2.52)
6AC_INIT
7AC_CONFIG_SRCDIR([bsp_specs])
8RTEMS_TOP(../../../../../..)
9AC_CONFIG_AUX_DIR(../../../../../..)
10
11RTEMS_CANONICAL_TARGET_CPU
12AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-powerpc-score603e,$RTEMS_VERSION,no)
13AM_MAINTAINER_MODE
14
15RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
16RTEMS_CANONICALIZE_TOOLS
17
18RTEMS_ENV_RTEMSBSP
19RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
20RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
21RTEMS_CANONICAL_HOST
22
23## bsp-specific options
24RTEMS_BSPOPTS_SET([SCORE603E_GENERATION],[*],[2])
25RTEMS_BSPOPTS_HELP([SCORE603E_GENERATION],
26[FIXME: Missing explanation])
27
28RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[0])
29RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS],
30[whether using console interrupts])
31
32RTEMS_BSPOPTS_SET([INITIALIZE_COM_PORTS],[*],[1])
33RTEMS_BSPOPTS_HELP([INITIALIZE_COM_PORTS],
34[FIXME: Missing explanation])
35
36RTEMS_BSPOPTS_SET([HAS_PMC_PSC8],[*],[0])
37RTEMS_BSPOPTS_HELP([HAS_PMC_PSC8],
38[FIXME: Missing explanation])
39
40## FIXME: This should be a 1 out of 3 selection
41## and is somehow coupled to USE_DINK (cf. include/gen2.h)
42RTEMS_BSPOPTS_SET([SCORE603E_USE_SDS],[*],[0])
43RTEMS_BSPOPTS_HELP([SCORE603E_USE_SDS],
44[use SDS ROM monitor])
45
46RTEMS_BSPOPTS_SET([SCORE603E_OPEN_FIRMWARE],[*],[0])
47RTEMS_BSPOPTS_HELP([SCORE603E_OPEN_FIRMWARE],
48[use Open Firmware ROM monitor])
49
50RTEMS_BSPOPTS_SET([SCORE603E_USE_NONE],[*],[0])
51RTEMS_BSPOPTS_HELP([SCORE603E_USE_NONE],
52[use no ROM monitor])
53
54RTEMS_BSPOPTS_SET([SCORE603E_USE_DINK],[*],[1])
55RTEMS_BSPOPTS_HELP([SCORE603E_USE_DINK],
56[FIXME: Missing explanation.])
57
58RTEMS_BSPOPTS_SET([PPC_USE_SPRG],[*],[0])
59RTEMS_BSPOPTS_HELP([PPC_USE_SPRG],
60[If defined, then the PowerPC specific code in RTEMS will use some
61of the special purpose registers to slightly optimize interrupt
62response time.  The use of these registers can conflict with
63other tools like debuggers.])
64
65RTEMS_BSPOPTS_SET([PPC_USE_DATA_CACHE],[*],[0])
66RTEMS_BSPOPTS_HELP([PPC_USE_DATA_CACHE],
67[If defined, then the PowerPC specific code in RTEMS will use
68 data cache instructions to optimize the context switch code.
69 This code can conflict with debuggers or emulators.  It is known
70 to break the Corelis PowerPC emulator with at least some combinations
71 of PowerPC 603e revisions and emulator versions.
72 The BSP actually contains the call that enables this.])
73
74RTEMS_BSPOPTS_SET([PPC_VECTOR_FILE_BASE],[*],[0x0100])
75RTEMS_BSPOPTS_HELP([PPC_VECTOR_FILE_BASE],
76[This defines the base address of the exception table.
77 NOTE: Vectors are actually at 0xFFF00000 but file starts at offset.])
78
79AM_CONFIG_HEADER(include/bspopts.h)
80
81AM_CONDITIONAL(SCORE603E_GENERATION_1, test "${SCORE603E_GENERATION}" = "1")
82
83RTEMS_PROJECT_ROOT
84
85# Explicitly list all Makefiles here
86AC_CONFIG_FILES([Makefile
87PCI_bus/Makefile
88clock/Makefile
89console/Makefile
90include/Makefile
91start/Makefile
92startup/Makefile
93timer/Makefile
94tod/Makefile
95vectors/Makefile
96wrapup/Makefile])
97
98RTEMS_PPC_EXCEPTIONS([old])
99
100AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.