From fc81cc9933bdccce92672a9871d4475716ca6714 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 3 Dec 1999 13:31:56 +0000 Subject: Patch rtems-rc-19991123-rc-3.diff from Ralf Corsepius : The patch below provides * automake support for score/cpu/powerpc * The hack to propagate values from *.cfg to automake configuration * A fix for librdbg/powerpc/mcp750/Makefile.am (Was completely corrupted before) * Fixes some files which apparently where missing in rtems-rc-19991123-rc-2.diff * some minor configuration related patches To apply: rm -rf ./c/src/exec/score/cpu/powerpc/wrap patch -p1 < rtems-rc-19991123-rc-3.diff Attention: c/src/exec/score/cpu/[configure.in|aclocal.m4|configure] should be removed after applying the patch. Modifications had been made to the score/cpu/powerpc directory after the snapshot this was based on. In particular, the mpc750 and other_cpu directories had been renamed to new_exception_processing and old_exception_processing. After this patch was applied, modifications were made to account for this. --- aclocal/check-bsp-cache.m4 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 aclocal/check-bsp-cache.m4 (limited to 'aclocal') diff --git a/aclocal/check-bsp-cache.m4 b/aclocal/check-bsp-cache.m4 new file mode 100644 index 0000000000..1eb077026b --- /dev/null +++ b/aclocal/check-bsp-cache.m4 @@ -0,0 +1,17 @@ +dnl $Id$ + +dnl RTEMS_CHECK_BSP_CACHE(RTEMS_BSP) +AC_DEFUN(RTEMS_CHECK_BSP_CACHE, +[ +AC_REQUIRE([RTEMS_CHECK_CPU])dnl sets RTEMS_CPU, target +AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl set RTEMS_BSP +AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir +AC_CACHE_CHECK("for RTEMS_CPU_MODEL", rtems_cv_RTEMS_CPU_MODEL, +. $RTEMS_TOPdir/c/[$]$1/make/[$]$1.cache) +RTEMS_CPU_MODEL=$rtems_cv_RTEMS_CPU_MODEL +AC_SUBST(RTEMS_CPU_MODEL) +AC_CACHE_CHECK("for RTEMS_BSP_FAMILY", rtems_cv_RTEMS_BSP_FAMILY, +. $RTEMS_TOPdir/c/[$]$1/make/[$]$1.cache) +RTEMS_BSP_FAMILY=$rtems_cv_RTEMS_BSP_FAMILY +AC_SUBST(RTEMS_BSP_FAMILY) +])dnl -- cgit v1.2.3