From 89376b7141edb6f927fb940c27391cda6e67c785 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 19 Feb 2009 19:55:40 +0000 Subject: Initial import. --- m4/rtems-options.m4 | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 m4/rtems-options.m4 (limited to 'm4/rtems-options.m4') diff --git a/m4/rtems-options.m4 b/m4/rtems-options.m4 new file mode 100644 index 0000000..4e2d484 --- /dev/null +++ b/m4/rtems-options.m4 @@ -0,0 +1,41 @@ +# Declare --enable-rtemsbsp --with-rtems-top options +# +# TILLAC_RTEMS_OPTIONS +AC_DEFUN([TILLAC_RTEMS_OPTIONS], + [AC_ARG_ENABLE(rtemsbsp, + AC_HELP_STRING([--enable-rtemsbsp="bsp1 bsp2 ..."], + [BSPs to include in build (ignore bsps not found in RTEMS installation)]dnl + ) + ) + AC_ARG_WITH(rtems-top, + AC_HELP_STRING([--with-rtems-top=], + [point to RTEMS installation]dnl + ) + ) + AC_ARG_WITH(extra-incdirs, + AC_HELP_STRING([--with-extra-incdirs=], + [point to directories with additional headers]dnl + ) + ) + AC_ARG_WITH(extra-libdirs, + AC_HELP_STRING([--with-extra-libdirs=], + [point to directories with additional libraries]dnl + ) + ) + AC_ARG_WITH(hostbindir, + AC_HELP_STRING([--with-hostbindir=], + [default is /host//bin], + ), + [AC_SUBST([hostbindir],[$with_hostbindir])], + [AC_SUBST([hostbindir],['$(prefix)/host/$(build_alias)/bin'])] + ) + AC_ARG_ENABLE([std-rtems-installdirs], + AC_HELP_STRING([--enable-std-rtems-installdirs], + [install directly into + the RTEMS installation directories; by default a location *outside* + of the standard location is used. If you don't use this option you + can also fine-tune the installation using the usual --prefix, + --exec-prefix, --libdir, --includedir etc. options]dnl + ) + )]dnl +) -- cgit v1.2.3