2003-10-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* acinclude.m4: New.
	Add RTEMS_CHECK_CPU.
This commit is contained in:
Ralf Corsepius
2003-10-02 01:43:48 +00:00
parent 85ad55d491
commit 1b16201e7f
2 changed files with 23 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2003-10-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* acinclude.m4: New.
Add RTEMS_CHECK_CPU.
2003-09-26 Joel Sherrill <joel@OARcorp.com>
* ACKNOWLEDGEMENTS: Obsoleting HP PA-RISC port and removing all

18
c/acinclude.m4 Normal file
View File

@@ -0,0 +1,18 @@
dnl $Id$
dnl check if RTEMS support a cpu
AC_DEFUN(RTEMS_CHECK_CPU,
[dnl
AC_REQUIRE([RTEMS_TOP])
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])
# Is this a supported CPU?
AC_MSG_CHECKING([if cpu $RTEMS_CPU is supported])
# FIXME: Temporary hack
if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/$RTEMS_CPU"; then
AC_MSG_RESULT(yes)
else
AC_MSG_ERROR(no)
fi
])dnl