mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
2003-10-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* acinclude.m4: New. Add RTEMS_CHECK_CPU.
This commit is contained in:
@@ -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
18
c/acinclude.m4
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user