OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rtems-20020807/] [aclocal/] [rtems-cpu-subdirs.m4] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
AC_DEFUN([_RTEMS_CPU_SUBDIR],
2
[
3
$1 )    if test -d ${srcdir}/ifelse([$2],,[$1],[$2/$1]) ; then
4
  AC_CONFIG_SUBDIRS(ifelse([$2],,[$1],[$2/$1]))
5
  fi
6
])
7
 
8
## RTEMS_CPU_SUBDIRS([PREFIX])
9
AC_DEFUN([RTEMS_CPU_SUBDIRS],
10
[
11
## EDIT: If adding a new cpu to RTEMS, add it to the case block below.
12
case $RTEMS_CPU in
13
_RTEMS_CPU_SUBDIR([a29k],[$1]);;
14
_RTEMS_CPU_SUBDIR([arm],[$1]);;
15
_RTEMS_CPU_SUBDIR([c4x],[$1]);;
16
_RTEMS_CPU_SUBDIR([h8300],[$1]);;
17
_RTEMS_CPU_SUBDIR([hppa1.1],[$1]);;
18
_RTEMS_CPU_SUBDIR([i386],[$1]);;
19
_RTEMS_CPU_SUBDIR([i960],[$1]);;
20
_RTEMS_CPU_SUBDIR([m68k],[$1]);;
21
_RTEMS_CPU_SUBDIR([mips],[$1]);;
22
_RTEMS_CPU_SUBDIR([mips64orion],[$1]);;
23
_RTEMS_CPU_SUBDIR([no_cpu],[$1]);;
24
_RTEMS_CPU_SUBDIR([or32],[$1]);;
25
_RTEMS_CPU_SUBDIR([powerpc],[$1]);;
26
_RTEMS_CPU_SUBDIR([sh],[$1]);;
27
_RTEMS_CPU_SUBDIR([sparc],[$1]);;
28
_RTEMS_CPU_SUBDIR([unix],[$1]);;
29
*) AC_MSG_ERROR([Invalid RTEMS_CPU])
30
esac
31
])

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.