2002-01-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* configure.ac: Add --enable-docs support. Add
	RTEMS_HOST_CONFIG_SUBDIRS(doc). Remove doc/Makefile.
	* Makefile.am: Add HOST_SUBDIRS to SUBDIRS. Remove doc from
	hard-coded SUBDIRS.
	* README.configure: Added a bit of information on this new option.
This commit is contained in:
Joel Sherrill
2002-01-20 17:03:51 +00:00
parent 645a43d39f
commit 003d4da3fc
4 changed files with 25 additions and 7 deletions

View File

@@ -1,3 +1,11 @@
2002-01-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add --enable-docs support. Add
RTEMS_HOST_CONFIG_SUBDIRS(doc). Remove doc/Makefile.
* Makefile.am: Add HOST_SUBDIRS to SUBDIRS. Remove doc from
hard-coded SUBDIRS.
* README.configure: Added a bit of information on this new option.
2002-01-18 Joel Sherrill <joel@OARcorp.com> 2002-01-18 Joel Sherrill <joel@OARcorp.com>
* VERSION: Updated to rtems-ss-20020118. * VERSION: Updated to rtems-ss-20020118.

View File

@@ -9,7 +9,7 @@
AUTOMAKE_OPTIONS = foreign 1.5 AUTOMAKE_OPTIONS = foreign 1.5
ACLOCAL_AMFLAGS = -I aclocal ACLOCAL_AMFLAGS = -I aclocal
SUBDIRS = doc make tools $(BUILD_SUBDIRS) $(TARGET_SUBDIRS) SUBDIRS = tools make $(BUILD_SUBDIRS) $(HOST_SUBDIRS) $(TARGET_SUBDIRS)
AUTOMAKE_FILES = automake/compile.am automake/host.am automake/lib.am \ AUTOMAKE_FILES = automake/compile.am automake/host.am automake/lib.am \
automake/local.am automake/multilib.am automake/subdirs.am \ automake/local.am automake/multilib.am automake/subdirs.am \

View File

@@ -32,6 +32,7 @@ RTEMS-specific option are supported:
--enable-rtemsbsp="bsp1 bsp2 ..." --enable-rtemsbsp="bsp1 bsp2 ..."
--enable-tests --enable-tests
--enable-rdbg (only valid for i386 and some PowerPC BSPs) --enable-rdbg (only valid for i386 and some PowerPC BSPs)
--enable-docs
In addition, the following standard autoconf options are frequently In addition, the following standard autoconf options are frequently
used when configuring RTEMS installations: used when configuring RTEMS installations:
@@ -87,10 +88,10 @@ unless directly specified. There are two ways of changing this:
bsps as the default bsps, or bsps as the default bsps, or
+ set the RTEMS_BSP variable during make (see below). + set the RTEMS_BSP variable during make (see below).
The --enable-rtemsbsp= option configures RTEMS for a specific target The --enable-rtemsbsp= option configures RTEMS for a specific board
architecture. Remember that the target specifies the CPU family while within a target architecture. Remember that the target specifies the
the BSP specifies the precise board you will be using. The following CPU family while the BSP specifies the precise board you will be using.
targets are supported: The following targets are supported:
(none) will build the host-based version on Linux, (none) will build the host-based version on Linux,
Solaris and HPUX. Solaris and HPUX.
@@ -109,7 +110,7 @@ targets are supported:
sh-rtems sh-rtems
sparc-rtems sparc-rtems
bare see notes bare see notes
The cross-compiler is set to $(target)-gcc by default. This can be The cross-compiler is set to $(target)-gcc by default. This can be
overridden by: overridden by:
@@ -135,6 +136,8 @@ As an example, to build and install the mvme136 and dmv152 bsps for m68k do:
The sample tests are built by 'make all', do a 'make test' to build the full The sample tests are built by 'make all', do a 'make test' to build the full
test suite. test suite.
By default, --enable-docs is disabled and documentation is not built.
2.2 Build with Cygnus one-tree release 2.2 Build with Cygnus one-tree release
To build and install RTEMS with the one-tree structure, just copy the rtems To build and install RTEMS with the one-tree structure, just copy the rtems

View File

@@ -35,6 +35,10 @@ RTEMS_ENABLE_RTEMS_DEBUG
RTEMS_ENABLE_RTEMSBSP(dummy) RTEMS_ENABLE_RTEMSBSP(dummy)
RTEMS_ENABLE_MULTILIB RTEMS_ENABLE_MULTILIB
AC_ARG_ENABLE([docs],
[AC_HELP_STRING([--enable-docs],[enable building documentation
(default:disabled)])])
if test $host != $build; then if test $host != $build; then
AC_MSG_WARN([] AC_MSG_WARN([]
[*** *** *** WARNING *** *** ***] [*** *** *** WARNING *** *** ***]
@@ -59,6 +63,9 @@ RTEMS_BUILD_CONFIG_SUBDIRS([tools/update])
RTEMS_HOST_CONFIG_SUBDIRS([tools/build]) RTEMS_HOST_CONFIG_SUBDIRS([tools/build])
RTEMS_HOST_CONFIG_SUBDIRS([tools/cpu]) RTEMS_HOST_CONFIG_SUBDIRS([tools/cpu])
AS_IF([test x"${enable_docs}" = x"yes"],
[RTEMS_HOST_CONFIG_SUBDIRS([doc])])
RTEMS_TARGET_CONFIG_SUBDIRS([c/make]) RTEMS_TARGET_CONFIG_SUBDIRS([c/make])
if test x"$enable_multilib" = x"yes"; then if test x"$enable_multilib" = x"yes"; then
RTEMS_TARGET_CONFIG_SUBDIRS([c/src/exec]) RTEMS_TARGET_CONFIG_SUBDIRS([c/src/exec])
@@ -73,6 +80,6 @@ make/Makefile
make/custom/Makefile make/custom/Makefile
make/Templates/Makefile make/Templates/Makefile
make/compilers/Makefile make/compilers/Makefile
doc/Makefile]) ])
AC_OUTPUT AC_OUTPUT