Files
rtems/cpukit/aclocal/check-cpu.m4
Ralf Corsepius 60f37021f1 2002-07-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/rtems-top.m4: Reflect relocation of c/src/exec to cpukit.
	* aclocal/check-cpu.m4: Ditto.
	* aclocal/check-bsps.m4: Ditto.
2002-07-17 22:28:20 +00:00

18 lines
341 B
Plaintext

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])
if test -d "$srcdir/$RTEMS_TOPdir/cpukit/score/cpu/$RTEMS_CPU"; then
AC_MSG_RESULT(yes)
else
AC_MSG_ERROR(no)
fi
])dnl