diff options
Diffstat (limited to 'aclocal/enable-rtemsbsp.m4')
-rw-r--r-- | aclocal/enable-rtemsbsp.m4 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/aclocal/enable-rtemsbsp.m4 b/aclocal/enable-rtemsbsp.m4 new file mode 100644 index 0000000..d8ffc55 --- /dev/null +++ b/aclocal/enable-rtemsbsp.m4 @@ -0,0 +1,17 @@ +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 "${enable_rtemsbsp}" in + yes ) enable_rtemsbsp="" ;; + no ) enable_rtemsbsp="no" ;; + *) enable_rtemsbsp="$enable_rtemsbsp" ;; +esac],[enable_rtemsbsp=""]) +]) |