summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2002-11-29 08:27:53 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2002-11-29 08:27:53 +0000
commitff65620a6972aa0f9114745932abd19b5d8ef2b5 (patch)
tree9a1cc94fab2ce7d0a63f391afb5228c4800c6a26
parentf7e1564a618a7aaf32c8604f2e67c9de4efe19c7 (diff)
downloadrtems-ff65620a6972aa0f9114745932abd19b5d8ef2b5.tar.bz2
2002-11-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/prog-ccas.m4: New. * aclocal/check-custom-bsp.m4: New, split out from check-bsps.m4. * aclocal/check-bsps.m4: Split out RTEMS_CHECK_CUSTOM_BSP. * aclocal/canonicalize-tools.m4: Remove RTEMS_GCC_PRINT.
-rw-r--r--ChangeLog7
-rw-r--r--aclocal/canonicalize-tools.m45
-rw-r--r--aclocal/check-bsps.m412
-rw-r--r--aclocal/check-custom-bsp.m410
-rw-r--r--aclocal/prog-ccas.m48
5 files changed, 25 insertions, 17 deletions
diff --git a/ChangeLog b/ChangeLog
index 3efbfbb8e9..ace95ae15a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2002-11-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * aclocal/prog-ccas.m4: New.
+ * aclocal/check-custom-bsp.m4: New, split out from check-bsps.m4.
+ * aclocal/check-bsps.m4: Split out RTEMS_CHECK_CUSTOM_BSP.
+ * aclocal/canonicalize-tools.m4: Remove RTEMS_GCC_PRINT.
+
2002-11-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* acinclude.m4: Conditionally append --target=.
diff --git a/aclocal/canonicalize-tools.m4 b/aclocal/canonicalize-tools.m4
index 3868c76d71..4d37fa9c69 100644
--- a/aclocal/canonicalize-tools.m4
+++ b/aclocal/canonicalize-tools.m4
@@ -4,11 +4,6 @@ dnl
dnl Set target tools
dnl
-AC_DEFUN(RTEMS_GCC_PRINT,
-[
- $1=`$CC --print-prog-name=$2`
-])
-
AC_DEFUN(RTEMS_CANONICALIZE_TOOLS,
[AC_REQUIRE([RTEMS_PROG_CC])dnl
diff --git a/aclocal/check-bsps.m4 b/aclocal/check-bsps.m4
index 72477ea902..ad760e7439 100644
--- a/aclocal/check-bsps.m4
+++ b/aclocal/check-bsps.m4
@@ -31,15 +31,3 @@ AC_MSG_CHECKING([for bsps])
done
AC_MSG_RESULT([[$]$1 .. done])
])dnl
-
-AC_DEFUN(RTEMS_CHECK_CUSTOM_BSP,
-[dnl
-AC_REQUIRE([RTEMS_TOP])
-
-AC_MSG_CHECKING([for make/custom/[$]$1.cfg])
-if test -r "$srcdir/$RTEMS_TOPdir/make/custom/[$]$1.cfg"; then
- AC_MSG_RESULT([yes])
-else
- AC_MSG_ERROR([no])
-fi
-])dnl
diff --git a/aclocal/check-custom-bsp.m4 b/aclocal/check-custom-bsp.m4
new file mode 100644
index 0000000000..de9d61b79e
--- /dev/null
+++ b/aclocal/check-custom-bsp.m4
@@ -0,0 +1,10 @@
+dnl $Id$
+
+AC_DEFUN(RTEMS_CHECK_CUSTOM_BSP,[
+AC_REQUIRE([RTEMS_TOP])
+
+AC_MSG_CHECKING([for make/custom/[$]$1.cfg])
+AS_IF([test -r "$srcdir/$RTEMS_TOPdir/make/custom/[$]$1.cfg"],
+ [AC_MSG_RESULT([yes])],
+ [AC_MSG_ERROR([no])])
+])
diff --git a/aclocal/prog-ccas.m4 b/aclocal/prog-ccas.m4
new file mode 100644
index 0000000000..aeef25ec0c
--- /dev/null
+++ b/aclocal/prog-ccas.m4
@@ -0,0 +1,8 @@
+## $Id$
+
+AC_DEFUN([RTEMS_PROG_CCAS],
+[
+AC_REQUIRE([RTEMS_PROG_CC])
+AC_SUBST(CCAS,["$CC \$(GCCSPECS)"])
+AC_SUBST(CCASFLAGS,["-DASM \$(CFLAGS) \$(INCLUDES)"])
+])