summaryrefslogtreecommitdiffstats
path: root/aclocal/env-rtemscpu.m4
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-29 15:27:25 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-29 15:27:25 +0000
commit560aae24e2aedf480676e5daf9c4c3e0eb62a120 (patch)
treee8c409e0f835f0ac3d317fb1597daba70e78183e /aclocal/env-rtemscpu.m4
parent2001-01-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-560aae24e2aedf480676e5daf9c4c3e0eb62a120.tar.bz2
2001-01-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/enable-rtemsbsp.m4: Split out RTEMS_ENV_RTEMSBSP, RTEMS_ENV_RTEMSCPU. * aclocal/env-rtemsbsp.m4: New file for RTEMS_ENV_RTEMSBSP, add special treatment for GCC_SPECS. * aclocal/env-rtemscpu.m4: New file for RTEMS_ENV_RTEMSCPU, add special treatment for GCC_SPECS. * aclocal/bsp-enable-arg.m4: New file, introduce RTEMS_BSP_ARG_ENABLE. * aclocal/prog-cc.m4: Add AC_PROG_CPP, use build_os in GCCSED hack. * automake/compile.am: New treatment of CPP, GCCSPECS, use `..` instead of $(shell ..) for LIBC_LIB*.
Diffstat (limited to 'aclocal/env-rtemscpu.m4')
-rw-r--r--aclocal/env-rtemscpu.m424
1 files changed, 24 insertions, 0 deletions
diff --git a/aclocal/env-rtemscpu.m4 b/aclocal/env-rtemscpu.m4
new file mode 100644
index 0000000000..1b2f81cfaf
--- /dev/null
+++ b/aclocal/env-rtemscpu.m4
@@ -0,0 +1,24 @@
+dnl $Id$
+
+AC_DEFUN(RTEMS_ENV_RTEMSCPU,
+[AC_REQUIRE([RTEMS_ENABLE_MULTILIB])
+
+if test x"$multilib" = x"no"; then
+ RTEMS_ENV_RTEMSBSP
+ RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+else
+## FIXME: There is no multilib BSP
+ rtems_cv_RTEMS_BSP="multilib"
+ RTEMS_BSP="$rtems_cv_RTEMS_BSP"
+ AC_SUBST(RTEMS_BSP)
+
+ RTEMS_BSP_SPECS=""
+ AC_SUBST(RTEMS_BSP_SPECS)
+
+ GCC_SPECS="-B\$(PROJECT_ROOT)/lib/"
+ AC_SUBST(GCC_SPECS)
+
+ RTEMS_ROOT=$PROJECT_ROOT/c
+ AC_SUBST(RTEMS_ROOT)
+fi
+])