URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 30 |
Rev 173 |
dnl $Id: check-cpu.m4,v 1.2 2001-09-27 11:59:11 chris Exp $
|
dnl $Id: check-cpu.m4,v 1.2 2001-09-27 11:59:11 chris Exp $
|
|
|
dnl check if RTEMS support a cpu
|
dnl check if RTEMS support a cpu
|
AC_DEFUN(RTEMS_CHECK_CPU,
|
AC_DEFUN(RTEMS_CHECK_CPU,
|
[dnl
|
[dnl
|
AC_REQUIRE([RTEMS_TOP])
|
AC_REQUIRE([RTEMS_TOP])
|
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])
|
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])
|
|
|
# Is this a supported CPU?
|
# Is this a supported CPU?
|
AC_MSG_CHECKING([if cpu $RTEMS_CPU is supported])
|
AC_MSG_CHECKING([if cpu $RTEMS_CPU is supported])
|
if test -d "$srcdir/$RTEMS_TOPdir/c/src/exec/score/cpu/$RTEMS_CPU"; then
|
if test -d "$srcdir/$RTEMS_TOPdir/c/src/exec/score/cpu/$RTEMS_CPU"; then
|
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
else
|
else
|
AC_MSG_ERROR(no)
|
AC_MSG_ERROR(no)
|
fi
|
fi
|
])dnl
|
])dnl
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.