summaryrefslogtreecommitdiffstats
path: root/cpukit/aclocal/enable-rtemsbsp.m4
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/aclocal/enable-rtemsbsp.m4')
-rw-r--r--cpukit/aclocal/enable-rtemsbsp.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/cpukit/aclocal/enable-rtemsbsp.m4 b/cpukit/aclocal/enable-rtemsbsp.m4
new file mode 100644
index 0000000000..a4c2114e59
--- /dev/null
+++ b/cpukit/aclocal/enable-rtemsbsp.m4
@@ -0,0 +1,16 @@
+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])dnl
+AC_ARG_ENABLE(rtemsbsp,
+AC_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=""])
+])