summaryrefslogtreecommitdiffstats
path: root/m4/rtems-options.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/rtems-options.m4')
-rw-r--r--m4/rtems-options.m441
1 files changed, 41 insertions, 0 deletions
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=<rtems installation topdir>],
+ [point to RTEMS installation]dnl
+ )
+ )
+ AC_ARG_WITH(extra-incdirs,
+ AC_HELP_STRING([--with-extra-incdirs=<additional header dirs>],
+ [point to directories with additional headers]dnl
+ )
+ )
+ AC_ARG_WITH(extra-libdirs,
+ AC_HELP_STRING([--with-extra-libdirs=<additional library dirs (w/o -L)>],
+ [point to directories with additional libraries]dnl
+ )
+ )
+ AC_ARG_WITH(hostbindir,
+ AC_HELP_STRING([--with-hostbindir=<installation dir for native binaries>],
+ [default is <prefix>/host/<build_alias>/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
+)