summaryrefslogblamecommitdiffstats
path: root/testsuites/aclocal/enable-rtemsbsp.m4
blob: ba57aa5b4149d2643aca89e7caf9d65bd9b3c8ed (plain) (tree)
1
2
3
4
5
6
7
8
9

        


                                         
                                 


                                     
                                                   





                                                                             
dnl $Id$

dnl Override the set of BSPs to be built.
dnl used by the toplevel configure script
dnl RTEMS_ENABLE_RTEMSBSP(rtems_bsp_list)
AC_DEFUN([RTEMS_ENABLE_RTEMSBSP],
[
AC_BEFORE([$0], [RTEMS_ENV_RTEMSBSP])
AC_ARG_ENABLE(rtemsbsp,
[AS_HELP_STRING([--enable-rtemsbsp="bsp1 bsp2 .."],
[BSPs to include in build])],
[case "${enableval}" in
  yes|no) AC_MSG_ERROR([missing argument to --enable-rtemsbsp="bsp1 bsp2"]);;
  *) $1=$enableval;;
esac],[$1=""])
])