forked from Imagelibrary/rtems
* mpc8xx/exceptions/.cvsignore, mpc8xx/exceptions/Makefile.am, mpc8xx/exceptions/asm_utils.S, mpc8xx/exceptions/raw_exception.c, mpc8xx/exceptions/raw_exception.h: New files. * configure.in, mpc6xx/mmu/bat.h, mpc8xx/Makefile.am, mpc8xx/clock/clock.c, mpc8xx/console-generic/console-generic.c, mpc8xx/include/mpc8xx.h, mpc8xx/mmu/mmu.c, new_exception_processing/cpu.h, shared/include/byteorder.h, wrapup/Makefile.am: This is conversion of the mpc8xx CPU to the "new exception processing model."
97 lines
2.5 KiB
Plaintext
97 lines
2.5 KiB
Plaintext
dnl Process this file with autoconf to produce a configure script.
|
|
dnl
|
|
dnl $Id$
|
|
|
|
AC_PREREQ(2.13)
|
|
AC_INIT(mpc6xx)
|
|
RTEMS_TOP(../../../../..)
|
|
AC_CONFIG_AUX_DIR(../../../../..)
|
|
|
|
RTEMS_CANONICAL_TARGET_CPU
|
|
|
|
AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-powerpc,$RTEMS_VERSION,no)
|
|
AM_MAINTAINER_MODE
|
|
|
|
RTEMS_ENABLE_BARE
|
|
RTEMS_ENV_RTEMSBSP
|
|
|
|
RTEMS_CHECK_CPU
|
|
RTEMS_CANONICAL_HOST
|
|
|
|
RTEMS_PROJECT_ROOT
|
|
|
|
RTEMS_PROG_CC_FOR_TARGET
|
|
RTEMS_CANONICALIZE_TOOLS
|
|
|
|
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
|
|
RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
|
|
|
|
AM_CONDITIONAL(shared, test "$RTEMS_CPU_MODEL" = "mpc750" \
|
|
|| test "$RTEMS_CPU_MODEL" = "ppc603e" \
|
|
|| test "$RTEMS_CPU_MODEL" = "mpc604" \
|
|
|| test "$RTEMS_CPU_MODEL" = "mpc6xx" \
|
|
|| test "$RTEMS_CPU_MODEL" = "mpc821" \
|
|
|| test "$RTEMS_CPU_MODEL" = "mpc860" \
|
|
|| test "$RTEMS_CPU_MODEL" = "mpc8xx" )
|
|
|
|
## there are no 601 or 602 BSPs currently. The 505 BSPs are in user land.
|
|
AM_CONDITIONAL(new_exception_processing, \
|
|
test "$RTEMS_CPU_MODEL" = "mpc750" || \
|
|
test "$RTEMS_CPU_MODEL" = "mpc604" || \
|
|
test "$RTEMS_CPU_MODEL" = "mpc8xx" || \
|
|
test "$RTEMS_CPU_MODEL" = "mpc860")
|
|
|
|
## The goal is to get rid of the old exception processing code but
|
|
## but all BSPs in the distribution must be migrated to the new model
|
|
## first.
|
|
AM_CONDITIONAL(old_exception_processing, \
|
|
test "$RTEMS_CPU_MODEL" = "ppc403" || \
|
|
test "$RTEMS_CPU_MODEL" = "mpc505" || \
|
|
test "$RTEMS_CPU_MODEL" = "ppc603e" \
|
|
)
|
|
|
|
## test on CPU type
|
|
AM_CONDITIONAL(mpc505, test "$RTEMS_CPU_MODEL" = "mpc505")
|
|
AM_CONDITIONAL(mpc6xx, test "$RTEMS_CPU_MODEL" = "mpc6xx" \
|
|
|| test "$RTEMS_CPU_MODEL" = "mpc604" \
|
|
|| test "$RTEMS_CPU_MODEL" = "mpc750" )
|
|
AM_CONDITIONAL(mpc8xx, test "$RTEMS_CPU_MODEL" = "mpc8xx" \
|
|
|| test "$RTEMS_CPU_MODEL" = "mpc821" \
|
|
|| test "$RTEMS_CPU_MODEL" = "mpc860" )
|
|
AM_CONDITIONAL(ppc403, test "$RTEMS_CPU_MODEL" = "ppc403")
|
|
|
|
# Explicitly list all Makefiles here
|
|
AC_OUTPUT(
|
|
Makefile
|
|
mpc505/Makefile
|
|
mpc505/timer/Makefile
|
|
mpc505/vectors/Makefile
|
|
mpc505/ictrl/Makefile
|
|
mpc8xx/Makefile
|
|
mpc8xx/clock/Makefile
|
|
mpc8xx/console-generic/Makefile
|
|
mpc8xx/cpm/Makefile
|
|
mpc8xx/exceptions/Makefile
|
|
mpc8xx/include/Makefile
|
|
mpc8xx/mmu/Makefile
|
|
mpc8xx/timer/Makefile
|
|
ppc403/Makefile
|
|
ppc403/clock/Makefile
|
|
ppc403/console/Makefile
|
|
ppc403/ictrl/Makefile
|
|
ppc403/timer/Makefile
|
|
ppc403/vectors/Makefile
|
|
mpc6xx/Makefile
|
|
mpc6xx/clock/Makefile
|
|
mpc6xx/timer/Makefile
|
|
mpc6xx/exceptions/Makefile
|
|
mpc6xx/mmu/Makefile
|
|
mpc6xx/timer/Makefile
|
|
mpc6xx/wrapup/Makefile
|
|
new_exception_processing/Makefile
|
|
old_exception_processing/Makefile
|
|
shared/Makefile
|
|
shared/include/Makefile
|
|
shared/src/Makefile
|
|
wrapup/Makefile)
|