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 10/20/00 at 13:33:28

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
RevLine 
[400c552]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
[8ef3818]29AM_CONDITIONAL(shared, test "$RTEMS_CPU_MODEL" = "mpc750" \
[c8e0c3a]30|| test "$RTEMS_CPU_MODEL" = "ppc603e" \
[8ef3818]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" )
[400c552]36
[623ffdb]37## there are no 601 or 602 BSPs currently.  The 505 BSPs are in user land.
[80e5391]38AM_CONDITIONAL(new_exception_processing, \
39test "$RTEMS_CPU_MODEL" = "mpc750" || \
40test "$RTEMS_CPU_MODEL" = "mpc604")
41
[623ffdb]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
[400c552]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" )
[8ef3818]57AM_CONDITIONAL(mpc8xx, test "$RTEMS_CPU_MODEL" = "mpc8xx" \
58|| test "$RTEMS_CPU_MODEL" = "mpc821" \
59|| test "$RTEMS_CPU_MODEL" = "mpc860" )
[400c552]60AM_CONDITIONAL(ppc403, test "$RTEMS_CPU_MODEL" = "ppc403")
61
[70810dc]62# Explicitly list all Makefiles here
[400c552]63AC_OUTPUT(
64Makefile
65mpc505/Makefile
66mpc505/timer/Makefile
67mpc505/vectors/Makefile
[a982e0c6]68mpc505/ictrl/Makefile
[8ef3818]69mpc8xx/Makefile
70mpc8xx/clock/Makefile
71mpc8xx/console-generic/Makefile
72mpc8xx/cpm/Makefile
73mpc8xx/include/Makefile
74mpc8xx/mmu/Makefile
75mpc8xx/timer/Makefile
76mpc8xx/vectors/Makefile
[400c552]77ppc403/Makefile
78ppc403/clock/Makefile
79ppc403/console/Makefile
80ppc403/ictrl/Makefile
81ppc403/timer/Makefile
82ppc403/vectors/Makefile
83mpc6xx/Makefile
84mpc6xx/clock/Makefile
[710f76a]85mpc6xx/timer/Makefile
[400c552]86mpc6xx/exceptions/Makefile
87mpc6xx/mmu/Makefile
[bc2f04f]88mpc6xx/timer/Makefile
[400c552]89mpc6xx/wrapup/Makefile
[80e5391]90new_exception_processing/Makefile
91old_exception_processing/Makefile
[400c552]92shared/Makefile
[61bd0301]93shared/include/Makefile
94shared/src/Makefile
[400c552]95wrapup/Makefile)
Note: See TracBrowser for help on using the repository browser.