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.
This commit is contained in:
Ralf Corsepius
2002-11-29 08:27:53 +00:00
parent f7e1564a61
commit ff65620a69
5 changed files with 25 additions and 17 deletions

View File

@@ -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=.

View File

@@ -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

View File

@@ -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

View File

@@ -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])])
])

8
aclocal/prog-ccas.m4 Normal file
View File

@@ -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)"])
])