summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sh/acinclude.m4
blob: f91ee96b923d5625212956a329806000187d09f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# RTEMS_CHECK_BSPDIR(RTEMS_BSP)
AC_DEFUN([RTEMS_CHECK_BSPDIR],
[
  RTEMS_BSP_ALIAS(ifelse([$1],,[${RTEMS_BSP}],[$1]),bspdir)
  case "$bspdir" in
  gensh1 )
    AC_CONFIG_SUBDIRS([gensh1]);;
  gensh2 )
    AC_CONFIG_SUBDIRS([gensh2]);;
  shsim )
    AC_CONFIG_SUBDIRS([shsim]);;
  *)
    AC_MSG_ERROR([Invalid BSP]);;
  esac
])