Commit Graph

46 Commits

Author SHA1 Message Date
Chris Johns
2afb22b7e1 Remove make preinstall
A speciality of the RTEMS build system was the make preinstall step.  It
copied header files from arbitrary locations into the build tree.  The
header files were included via the -Bsome/build/tree/path GCC command
line option.

This has at least seven problems:

* The make preinstall step itself needs time and disk space.

* Errors in header files show up in the build tree copy.  This makes it
  hard for editors to open the right file to fix the error.

* There is no clear relationship between source and build tree header
  files.  This makes an audit of the build process difficult.

* The visibility of all header files in the build tree makes it
  difficult to enforce API barriers.  For example it is discouraged to
  use BSP-specifics in the cpukit.

* An introduction of a new build system is difficult.

* Include paths specified by the -B option are system headers.  This
  may suppress warnings.

* The parallel build had sporadic failures on some hosts.

This patch removes the make preinstall step.   All installed header
files are moved to dedicated include directories in the source tree.
Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc,
etc.  Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g.
erc32, imx, qoriq, etc.

The new cpukit include directories are:

* cpukit/include

* cpukit/score/cpu/@RTEMS_CPU@/include

* cpukit/libnetworking

The new BSP include directories are:

* bsps/include

* bsps/@RTEMS_CPU@/include

* bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include

There are build tree include directories for generated files.

The include directory order favours the most general header file, e.g.
it is not possible to override general header files via the include path
order.

The "bootstrap -p" option was removed.  The new "bootstrap -H" option
should be used to regenerate the "headers.am" files.

Update #3254.
2018-01-25 08:45:26 +01:00
Joel Sherrill
48a7fa31f9 Remove texinfo format documentation. Replaced by Sphinx formatted documentation.
closes #2812.
2017-01-11 12:13:21 -06:00
Daniel Hellstrom
e7fade3ac4 DRVMGR: added driver manager to cpukit/libdrvmgr 2015-04-17 01:10:16 +02:00
Sebastian Huber
1207288022 Update bug report URL 2014-12-05 07:47:32 +01:00
Philipp Eppelt
a9051de9e0 add --enable-paravirt to the configure options 2013-11-27 15:54:04 -05:00
Ralf Corsépius
bb2b8259ea Require automake-1.12.2. 2012-07-19 15:47:55 +02:00
Ralf Corsépius
0f772813aa Require autoconf-2.69. 2012-07-19 15:44:32 +02:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines
  next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
  contain CVS Ids
+ If the processing left a blank line at the top of
  a file, it was removed.
2012-05-11 08:44:13 -05:00
Joel Sherrill
33a105fb69 Revert: Remove CVS Ids
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
2012-05-07 11:08:48 -05:00
Ralf Corsépius
27272db336 Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Joel Sherrill
d305d75c7e 2011-05-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* tools/build/.cvsignore, tools/build/ChangeLog,
	tools/build/Makefile.am, tools/build/README, tools/build/binpatch.c,
	tools/build/cklength.c, tools/build/configure.ac,
	tools/build/cvsignore-add.sh, tools/build/doxy-filter,
	tools/build/eolstrip.c, tools/build/install-if-change.in,
	tools/build/multigen, tools/build/packhex.c,
	tools/build/rtems-bin2c.c, tools/build/search-id.sh,
	tools/build/unhex.c, tools/cpu/.cvsignore, tools/cpu/ChangeLog,
	tools/cpu/Makefile.am, tools/cpu/configure.ac,
	tools/cpu/generic/.cvsignore, tools/cpu/generic/ChangeLog,
	tools/cpu/generic/Makefile.am, tools/cpu/generic/configure.ac,
	tools/cpu/generic/size_rtems.in, tools/cpu/nios2/.cvsignore,
	tools/cpu/nios2/ChangeLog, tools/cpu/nios2/Makefile.am,
	tools/cpu/nios2/README, tools/cpu/nios2/bridges.c,
	tools/cpu/nios2/bridges.h, tools/cpu/nios2/clocks.c,
	tools/cpu/nios2/clocks.h, tools/cpu/nios2/configure.ac,
	tools/cpu/nios2/devices.c, tools/cpu/nios2/devices.h,
	tools/cpu/nios2/linkcmds.c, tools/cpu/nios2/linkcmds.h,
	tools/cpu/nios2/memory.c, tools/cpu/nios2/memory.h,
	tools/cpu/nios2/nios2gen.c, tools/cpu/nios2/output.c,
	tools/cpu/nios2/output.h, tools/cpu/nios2/ptf.c,
	tools/cpu/nios2/ptf.h, tools/cpu/nios2/sample.ptf,
	tools/cpu/sh/.cvsignore, tools/cpu/sh/AUTHORS, tools/cpu/sh/COPYING,
	tools/cpu/sh/ChangeLog, tools/cpu/sh/Makefile.am, tools/cpu/sh/TODO,
	tools/cpu/sh/configure.ac, tools/cpu/sh/sci.c, tools/cpu/sh/sci.h,
	tools/cpu/sh/shgen.c, tools/schedsim/.cvsignore,
	tools/schedsim/ChangeLog, tools/schedsim/Makefile.am,
	tools/schedsim/README, tools/schedsim/configure.ac,
	tools/schedsim/rtems/.cvsignore, tools/schedsim/rtems/ChangeLog,
	tools/schedsim/rtems/Makefile.am, tools/schedsim/rtems/interr.c,
	tools/schedsim/rtems/rtems_init.c,
	tools/schedsim/rtems/rtems_sched.h, tools/schedsim/rtems/wkspace.c,
	tools/schedsim/rtems/sched_cpu/cpu.c,
	tools/schedsim/rtems/sched_cpu/cpu_asm.c,
	tools/schedsim/rtems/sched_cpu/rtems/asm.h,
	tools/schedsim/rtems/sched_cpu/rtems/stringto.h,
	tools/schedsim/rtems/sched_cpu/rtems/score/cpu.h,
	tools/schedsim/rtems/sched_cpu/rtems/score/cpu_asm.h,
	tools/schedsim/rtems/sched_cpu/rtems/score/cpuopts.h,
	tools/schedsim/rtems/sched_cpu/rtems/score/no_cpu.h,
	tools/schedsim/rtems/sched_cpu/rtems/score/types.h,
	tools/schedsim/shell/.cvsignore, tools/schedsim/shell/ChangeLog,
	tools/schedsim/shell/Makefile.am,
	tools/schedsim/shell/schedsim_priority/.cvsignore,
	tools/schedsim/shell/schedsim_priority/Makefile.am,
	tools/schedsim/shell/schedsim_priority/config.c,
	tools/schedsim/shell/schedsim_priority/printheir_executing.c,
	tools/schedsim/shell/schedsim_priority/schedsim.cc,
	tools/schedsim/shell/schedsim_priority/wrap_thread_dispatch.c,
	tools/schedsim/shell/scripts/script01,
	tools/schedsim/shell/scripts/script02,
	tools/schedsim/shell/scripts/script03,
	tools/schedsim/shell/scripts/script04,
	tools/schedsim/shell/scripts/script05,
	tools/schedsim/shell/scripts/script06,
	tools/schedsim/shell/shared/.cvsignore,
	tools/schedsim/shell/shared/Makefile.am,
	tools/schedsim/shell/shared/commands.c,
	tools/schedsim/shell/shared/getopt.c,
	tools/schedsim/shell/shared/lookup_semaphore.c,
	tools/schedsim/shell/shared/lookup_task.c,
	tools/schedsim/shell/shared/main_clocktick.c,
	tools/schedsim/shell/shared/main_echo.c,
	tools/schedsim/shell/shared/main_executing.c,
	tools/schedsim/shell/shared/main_heir.c,
	tools/schedsim/shell/shared/main_help.c,
	tools/schedsim/shell/shared/main_rtemsinit.c,
	tools/schedsim/shell/shared/main_semcreate.c,
	tools/schedsim/shell/shared/main_semdelete.c,
	tools/schedsim/shell/shared/main_semflush.c,
	tools/schedsim/shell/shared/main_semobtain.c,
	tools/schedsim/shell/shared/main_semrelease.c,
	tools/schedsim/shell/shared/main_taskcreate.c,
	tools/schedsim/shell/shared/main_taskdelete.c,
	tools/schedsim/shell/shared/main_taskmode.c,
	tools/schedsim/shell/shared/main_taskpriority.c,
	tools/schedsim/shell/shared/main_taskresume.c,
	tools/schedsim/shell/shared/main_tasksuspend.c,
	tools/schedsim/shell/shared/main_taskwakeafter.c,
	tools/schedsim/shell/shared/schedsim_shell.h,
	tools/schedsim/shell/shared/shell_cmdset.c,
	tools/schedsim/shell/shared/shell_makeargs.c,
	tools/schedsim/shell/shared/include/shell.h,
	tools/schedsim/shell/shared/include/newlib/_ansi.h,
	tools/schedsim/shell/shared/include/newlib/getopt.h: Removed.

	* configure.ac: RTEMS Scheduler Simulator is now in its own CVS module
	named rtems-schedsim.
2011-05-17 20:37:15 +00:00
Ralf Corsepius
86c2108d92 2011-03-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Merge-in make/Makefile.am.
	* configure.ac: Reflect change above.
2011-03-04 18:32:15 +00:00
Ralf Corsepius
8ee3775f30 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
2011-02-02 15:01:43 +00:00
Ralf Corsepius
7fe5a88c88 2011-01-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Don't build tools/schedsim by default.
	Add --enable-schedsim (Default: disabled).
2011-01-26 12:20:19 +00:00
Joel Sherrill
ffc3c64cf4 2010-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
Add RTEMS Scheduler Simulator.
	* configure.ac: Add tools/schedsim.
2010-12-17 15:25:40 +00:00
Ralf Corsepius
8dbb864f82 2010-06-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: autoconf >= 2.65, automake >= 1.11.
2010-06-23 13:32:58 +00:00
Ralf Corsepius
dea33e831c 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/enable-itron.m4: Remove.
	* configure.ac: Remove itron.
2010-06-17 15:38:54 +00:00
Ralf Corsepius
7d10416b6f s/AC_HELP/AS_HELP/. 2008-06-01 05:07:58 +00:00
Joel Sherrill
27ccd80717 2007-08-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.maint, configure.ac, release_support: Remove RDBG.
	* aclocal/enable-rdbg.m4: Removed.
2007-08-02 15:01:29 +00:00
Ralf Corsepius
fcb0cd462c 2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.
2006-12-02 06:06:55 +00:00
Joel Sherrill
f02a0e53f3 2006-10-19 Joel Sherrill <joel@OARcorp.com>
* configure.ac: Remove all macro implementations and use only the
	static inline. Static inline functions are now well supported so
	there is no reason for duplicate maintenance.
	* aclocal/enable-inlines.m4: Removed.
2006-10-19 19:22:14 +00:00
Ralf Corsepius
756c9ba8cd changes 2006-10-17 08:47:25 +00:00
Ralf Corsepius
97891e5ea3 2004-09-24 Ralf Corsepius <ralf_corsepius@rtems.org>
* configure.ac: Require automake > 1.9.
2004-09-24 05:54:59 +00:00
Ralf Corsepius
9078e0974b 2004-02-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: DIST_SUBDIRS = $(SUBDIRS).
	Rework dist-hook.
	* configure.ac: Reflect changes to RTEMS_ENABLE_RTEMSBSP.
	* aclocal/enable-rtemsbsp.m4: Add support for --disable-rtemsbsp.
2004-02-17 13:50:24 +00:00
Ralf Corsepius
6f5b510b67 2004-02-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: RTEMS_BUILD_CONFIG_SUBDIRS([testsuites/tools]).
2004-02-14 18:16:35 +00:00
Ralf Corsepius
2994a4a065 2004-02-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove AUTOMAKE_FILES.
	Cleanup duplicate ACLOCAL_FILES.
	EXTRA_DIST += config-ml.in.
	DIST_SUBDIRS += make.
	Add dist-hook.
	* configure.ac: Add dist-bzip2 no-dist-gzip to AUTOMAKE_OPTIONS.
2004-02-13 11:10:52 +00:00
Ralf Corsepius
86a843735c 2004-01-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Require automake >= 1.8.2.
	* aclocal/check-bsps.m4: Also test for make/custom/*.cfg.
2004-01-16 16:18:26 +00:00
Ralf Corsepius
36e48b12c7 2004-01-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Requires automake >= 1.8.1.
2004-01-12 07:18:55 +00:00
Ralf Corsepius
810720b633 2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Require automake >= 1.8, autoconf >= 2.59.
2003-12-12 03:28:02 +00:00
Ralf Corsepius
88c3c5eec5 2003-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove make/custom/Makefile.
	* Makefile.am: Cosmetics.
	* automake/compile.am: Remove compilation rules.
	Remove $(ARCH) directory generation.
2003-12-11 16:32:00 +00:00
Ralf Corsepius
7dcc3feefc 2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Use rtems-bugs@rtems.com as bug report email address.
2003-08-11 14:20:43 +00:00
Ralf Corsepius
23557f57c4 2003-07-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* config.sub: Remove (Automatically added by automake, again).
	* bootstrap: Reflect change above.
	* configure.ac: Require automake >= 1.7.6.
2003-07-13 16:21:33 +00:00
Ralf Corsepius
7a9280174a 2003-06-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove "BLEEDING EDGE" warning.
	Put docs into RTEMS_BUILD_CONFIG_SUBDIRS.
	* acinclude.m4: Add AC_PREREQ(2.57).
	Major overhaul (PR 412).
	* aclocal/prog-cc.m4: Add RTEMS_GCC_ISYSTEM.
	* aclocal/gcc-isystem.m4: New.
	* Makefile.am: Add aclocal/gcc-isystem.m4.
2003-06-12 06:28:16 +00:00
Ralf Corsepius
0b22af60bb Merger from rtems-4-6-branch. 2003-03-25 08:50:16 +00:00
Ralf Corsepius
09efa771d2 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Require autoconf >= 2.57 and automake-1.7.2.
2002-12-12 04:13:17 +00:00
Ralf Corsepius
87ecb88cab 2002-11-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove c/make.
2002-11-29 11:13:12 +00:00
Ralf Corsepius
bcf4d5bc29 2002-11-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* acinclude.m4: Use AS_IF instead of if/then/else/endif.
	* configure.ac: Ditto.
2002-11-18 02:55:01 +00:00
Ralf Corsepius
fae851c2e7 2002-11-12 Joel Sherrill <joel@OARcorp.com>
* configure.ac: Remove make/compilers/Makefile.
2002-11-12 09:28:58 +00:00
Ralf Corsepius
6f6cde6f55 2002-11-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove make/Templates/Makefile.
	* README.configure: Minor massaging.
2002-11-07 10:16:27 +00:00
Ralf Corsepius
be3e0f7e42 2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Activate cpukit. Remove references to c/src/exec.
2002-07-22 07:14:24 +00:00
Joel Sherrill
978f59a23b 2002-04-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/compile.am: Remove GCC272 support.
	Remove *.sh rule (unused).
	* configure.ac: Remove ENABLE_GCC28.
	Remove ENABLE_LIBCDIR.
2002-04-16 13:53:49 +00:00
Joel Sherrill
76d527ec18 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/version.m4: New file.
	* aclocal/rtems-top.m4: Add RTEMS_VERSIONING, replace VERSION w/
	aclocal/version.m4.
	* bootstrap: Use aclocal/version.m4 instead of VERSION.
	* configure.ac: Use aclocal/version.m4 instead of VERSION.
2002-03-28 13:53:19 +00:00
Joel Sherrill
579f14cc7e 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* tools/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:55:02 +00:00
Joel Sherrill
003d4da3fc 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-20 17:03:51 +00:00
Joel Sherrill
ba748523d1 2001-12-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Reworked for multilibs, reflect changes to aclocal/*.m4.
	* aclocal/subdirs.m4: New file.
	* aclocal/multi.m4: New file, adopted from autoconf-2.52 w/
	modifications.
	* aclocal/check-posix.m4: Apply AS_IF.
	* aclocal/config-subdirs.m4: Reflect changes to other m4-macros.
	* aclocal/env-rtemsbsp.m4: Add PROJECT_INCLUDE, PROJECT_RELEASE.
	Add AM_CONDITIONAL(MULTILIB). Adapt GCC_SPECS to multilibs.
	* aclocal/env-rtemscpu.m4: Remove RTEMS_BSP. Add support for
	MULTIBUILDTOP, MULTISUBDIR. Adapt GCC_SPECS to multilibs.
	Add PROJECT_INCLUDE, PROJECT_RELEASE, includedir, libdir.
	* aclocal/multilib.m4: Fix m4-quoting, adopt automake-1.5's
	OUTPUT_COMMANDS.
	* aclocal/project-root.m4: Remove PROJECT_INCLUDE, PROJECT_RELEASE.
	* aclocal/rtems-debug.m4: Minor cleanups.
	* aclocal/rtems-top.m4: Minor cleanups.
	* automake/compile.am: Further steps towards automake's rules.
2001-12-20 17:33:23 +00:00
Joel Sherrill
6638798649 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
	* configure.in: Remove.
	* configure.ac: New file, generated from configure.in by autoupdate.
2001-10-11 19:07:37 +00:00