From d7aecdc8f866b978a4349b0e157f46877f60e414 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 12 Oct 2001 18:47:00 +0000 Subject: 2001-10-11 Ralf Corsepius * .cvsignore: Add autom4te.cache for autoconf > 2.52. * configure.in: Remove. --- c/src/lib/libcpu/powerpc/configure.ac | 97 +++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 c/src/lib/libcpu/powerpc/configure.ac (limited to 'c/src/lib/libcpu/powerpc/configure.ac') diff --git a/c/src/lib/libcpu/powerpc/configure.ac b/c/src/lib/libcpu/powerpc/configure.ac new file mode 100644 index 0000000000..f34f99993a --- /dev/null +++ b/c/src/lib/libcpu/powerpc/configure.ac @@ -0,0 +1,97 @@ +## Process this file with autoconf to produce a configure script. +## +## $Id$ + +AC_PREREQ(2.52) +AC_INIT +AC_CONFIG_SRCDIR([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_CONFIG_FILES([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]) +AC_OUTPUT -- cgit v1.2.3