source: rtems/c/src/aclocal/rtems-cpu-subdirs.m4 @ abe94a6

4.9
Last change on this file since abe94a6 was abe94a6, checked in by Joel Sherrill <joel.sherrill@…>, on 09/10/08 at 15:59:44

2008-09-10 Joel Sherrill <joel.sherrill@…>

  • aclocal/canonical-target-name.m4, aclocal/rtems-cpu-subdirs.m4: Remove TI C4x and NIOS2 ports from 4.9 branch.
  • Property mode set to 100644
File size: 832 bytes
Line 
1AC_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])
9AC_DEFUN([RTEMS_CPU_SUBDIRS],
10[
11## EDIT: If adding a new cpu to RTEMS, add it to the case block below.
12case $RTEMS_CPU in
13_RTEMS_CPU_SUBDIR([arm],[$1]);;
14_RTEMS_CPU_SUBDIR([bfin],[$1]);;
15_RTEMS_CPU_SUBDIR([avr],[$1]);;
16_RTEMS_CPU_SUBDIR([h8300],[$1]);;
17_RTEMS_CPU_SUBDIR([hppa1.1],[$1]);;
18_RTEMS_CPU_SUBDIR([i386],[$1]);;
19_RTEMS_CPU_SUBDIR([m68k],[$1]);;
20_RTEMS_CPU_SUBDIR([mips],[$1]);;
21_RTEMS_CPU_SUBDIR([no_cpu],[$1]);;
22_RTEMS_CPU_SUBDIR([or32],[$1]);;
23_RTEMS_CPU_SUBDIR([powerpc],[$1]);;
24_RTEMS_CPU_SUBDIR([sh],[$1]);;
25_RTEMS_CPU_SUBDIR([sparc],[$1]);;
26_RTEMS_CPU_SUBDIR([unix],[$1]);;
27*) AC_MSG_ERROR([Invalid RTEMS_CPU <[$]{RTEMS_CPU}>])
28esac
29])
Note: See TracBrowser for help on using the repository browser.