source: rtems/c/src/lib/libcpu/powerpc/configure.in @ 623ffdb

4.104.114.84.95
Last change on this file since 623ffdb was 623ffdb, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 20, 2000 at 1:33:28 PM

2000-10-20 Joel Sherrill <joel@…>

  • configure.in, Makefile.am: Explicitly specify whether an RTEMS_CPU_MODEL is using old or new exception processing. This is important because when building multilib, you do not know the RTEMS_CPU_MODEL. So everything built in a multilib'ed RTEMS must be independent of the exception model and allow for late binding to the exception code.
  • Property mode set to 100644
File size: 2.5 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2dnl
3dnl $Id$
4
5AC_PREREQ(2.13)
6AC_INIT(mpc6xx)
7RTEMS_TOP(../../../../..)
8AC_CONFIG_AUX_DIR(../../../../..)
9
10RTEMS_CANONICAL_TARGET_CPU
11
12AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-powerpc,$RTEMS_VERSION,no)
13AM_MAINTAINER_MODE
14
15RTEMS_ENABLE_BARE
16RTEMS_ENV_RTEMSBSP
17
18RTEMS_CHECK_CPU
19RTEMS_CANONICAL_HOST
20
21RTEMS_PROJECT_ROOT
22
23RTEMS_PROG_CC_FOR_TARGET
24RTEMS_CANONICALIZE_TOOLS
25
26RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
27RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
28
29AM_CONDITIONAL(shared, test "$RTEMS_CPU_MODEL" = "mpc750" \
30|| test "$RTEMS_CPU_MODEL" = "ppc603e" \
31|| test "$RTEMS_CPU_MODEL" = "mpc604" \
32|| test "$RTEMS_CPU_MODEL" = "mpc6xx" \
33|| test "$RTEMS_CPU_MODEL" = "mpc821" \
34|| test "$RTEMS_CPU_MODEL" = "mpc860" \
35|| test "$RTEMS_CPU_MODEL" = "mpc8xx" )
36
37## there are no 601 or 602 BSPs currently.  The 505 BSPs are in user land.
38AM_CONDITIONAL(new_exception_processing, \
39test "$RTEMS_CPU_MODEL" = "mpc750" || \
40test "$RTEMS_CPU_MODEL" = "mpc604")
41
42## The goal is to get rid of the old exception processing code but
43## but all BSPs in the distribution must be migrated to the new model
44## first.
45AM_CONDITIONAL(old_exception_processing, \
46test "$RTEMS_CPU_MODEL" = "ppc403" || \
47test "$RTEMS_CPU_MODEL" = "mpc505" || \
48test "$RTEMS_CPU_MODEL" = "ppc603e" || \
49test "$RTEMS_CPU_MODEL" = "mpc8xx" \
50)
51
52## test on CPU type
53AM_CONDITIONAL(mpc505, test "$RTEMS_CPU_MODEL" = "mpc505")
54AM_CONDITIONAL(mpc6xx, test "$RTEMS_CPU_MODEL" = "mpc6xx" \
55|| test "$RTEMS_CPU_MODEL" = "mpc604" \
56|| test "$RTEMS_CPU_MODEL" = "mpc750" )
57AM_CONDITIONAL(mpc8xx, test "$RTEMS_CPU_MODEL" = "mpc8xx" \
58|| test "$RTEMS_CPU_MODEL" = "mpc821" \
59|| test "$RTEMS_CPU_MODEL" = "mpc860" )
60AM_CONDITIONAL(ppc403, test "$RTEMS_CPU_MODEL" = "ppc403")
61
62# Explicitly list all Makefiles here
63AC_OUTPUT(
64Makefile
65mpc505/Makefile
66mpc505/timer/Makefile
67mpc505/vectors/Makefile
68mpc505/ictrl/Makefile
69mpc8xx/Makefile
70mpc8xx/clock/Makefile
71mpc8xx/console-generic/Makefile
72mpc8xx/cpm/Makefile
73mpc8xx/include/Makefile
74mpc8xx/mmu/Makefile
75mpc8xx/timer/Makefile
76mpc8xx/vectors/Makefile
77ppc403/Makefile
78ppc403/clock/Makefile
79ppc403/console/Makefile
80ppc403/ictrl/Makefile
81ppc403/timer/Makefile
82ppc403/vectors/Makefile
83mpc6xx/Makefile
84mpc6xx/clock/Makefile
85mpc6xx/timer/Makefile
86mpc6xx/exceptions/Makefile
87mpc6xx/mmu/Makefile
88mpc6xx/timer/Makefile
89mpc6xx/wrapup/Makefile
90new_exception_processing/Makefile
91old_exception_processing/Makefile
92shared/Makefile
93shared/include/Makefile
94shared/src/Makefile
95wrapup/Makefile)
Note: See TracBrowser for help on using the repository browser.