summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/acinclude.m4
blob: f42c2e9ec8c53c6e7703281bc91c6c1240f536f3 (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
  arm_bare_bsp )
    AC_CONFIG_SUBDIRS([arm_bare_bsp]);;
  armulator )
    AC_CONFIG_SUBDIRS([armulator]);;
  vegaplus )
    AC_CONFIG_SUBDIRS([vegaplus]);;
  *)
    AC_MSG_ERROR([Invalid BSP]);;
  esac
])