Commit Graph

43 Commits

Author SHA1 Message Date
Chris Johns
aa567bc1cc configure: Add subdir-objects to all automake flags.
This option silences warning with automake-1.16.1 allowing us to
upgrade to that version.

This change has been tested with automake-1.12.6 and automake-1.16.1.
It seems version 1.16.1 configures slower than 1.12.6 for the same
source and BSP. The newer versions is 6 second slower.

Close #3387.
2018-04-11 11:52:29 +10:00
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
Sebastian Huber
ee537ea3dd ada-tests: Move to testsuites/ada
This solves a build dependency issue, e.g. building tests before
librtemsbsp.a exists.

Close #3079.
2017-10-12 10:53:16 +02:00
Sebastian Huber
0027682546 benchmarks: Add benchmark templates
Update #2958.
2017-03-29 07:29:01 +02:00
Chris Johns
9a4eca5843 build-system: Always enable C++ if the compiler is present.
We always build a C++ compiler and building with C++ does not effect
RTEMS or the runtime. This patch always enabled the support. There is
no need to manually enable it any more.

You can disable C++ with '--disable-cxx'.

If an architecture does not have a C++ compiler support is automatically
disabled.
2016-08-11 17:20:10 +10:00
Sebastian Huber
1207288022 Update bug report URL 2014-12-05 07:47:32 +01:00
Daniel Ramirez
19e9bf8800 Added Rhealstone benchmark to testsuites
The Rhealstone benchmarks six operations that are critical components
of a real-time system. It allows for an objective analysis to be
performed, and allows for comparisons between systems.
See rhealstone/README for more information.
2014-01-05 09:58:39 -06: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
0caef32f7b Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Joel Sherrill
152a284188 2011-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac, support/include/test_support.h:
	* support/src/locked_print.c: New file.
2011-06-28 21:09:13 +00:00
Joel Sherrill
0e89af816c 2011-04-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Add fstests.
2011-04-20 21:30:36 +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
Joel Sherrill
4b0ac2c619 2010-12-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Add initial small set of POSIX Timing Tests.
2010-12-06 16:45:43 +00:00
Ralf Corsepius
bce989a942 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove itron.
2010-06-17 16:02:31 +00:00
Joel Sherrill
46605724c1 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Some POSIX tests exercise functionality which is
	enabled when the POSIX threading is disabled. So build this suite all
	the time and let the psxtests select the specific tests to build.
2009-09-13 21:09:47 +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
Ralf Corsepius
ba2c04fa2c 2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.60. Require automake-1.10.
2006-10-17 07:38:02 +00:00
Ralf Corsepius
1fd159523f 2005-11-22 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Remove RTEMS_ENABLE_BARE,
	BARE_CPU_CFLAGS, BARE_CPU_MODEL.
2005-11-22 15:30:31 +00:00
Ralf Corsepius
ae097c0acc 2005-11-13 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Remove AMPOLISH3 (Unused).
2005-11-13 07:23:29 +00:00
Ralf Corsepius
fbe6a00c09 2005-11-09 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Fix config-variables of conditionally built subdirs.
2005-11-09 12:11:32 +00:00
Ralf Corsepius
44502ae9c1 2005-11-09 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Apply RTEMS_CHECK_CPUOPTS.
2005-11-09 09:42:41 +00:00
Ralf Corsepius
f8c441ba5e Add AMPOLISH3. Remove support/. 2005-11-09 09:01:54 +00:00
Ralf Corsepius
630d7b5a0d Sync POSIX and ITRON magic with cpukit. 2005-11-07 13:59:24 +00:00
Ralf Corsepius
3e46c1cf83 Fix typo in previous change. 2004-09-24 06:32:10 +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
7c48a2e83d 2004-03-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add 2nd arg to RTEMS_TOP.
2004-03-25 06:05:21 +00:00
Ralf Corsepius
17ad82ca8b 2004-02-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AC_CONFIG_SRCDIR([PROBLEMS]).
	* aclocal/check-custom-bsp.m4: Sync with c/src/aclocal.
	* aclocal/project-root.m4: Remove obsolete comments.
	* aclocal/env-rtemsbsp.m4: Remove RTEMS_ROOT.
	* aclocal/rtems-top.m4: Rework.
2004-02-19 05:40:02 +00:00
Ralf Corsepius
7974c4ba51 2004-02-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove subdir tools.
2004-02-14 18:12:45 +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
5f52d1f01e 2003-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Reflect having moved to testsuites/.
2003-11-10 21:57:23 +00:00
Ralf Corsepius
6a8a114c42 2003-10-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove RTEMS_CANONICAL_HOST.
2003-10-22 10:10:30 +00:00
Ralf Corsepius
98e88aa39a 2003-10-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:Remove RTEMS_CHECK_CPU.
	* aclocal/check-cpu.m4: Remove.
	* aclocal/check-cxx.m4, aclocal/check-itron.m4,
	aclocal/check-multiprocessing.m4, aclocal/check-networking.m4,
	aclocal/check-posix.m4: AC_REQUIRE RTEMS_CANONICAL_TARGET_CPU instead of
	RTEMS_CHECK_CPU.
2003-10-02 03:39:12 +00:00
Ralf Corsepius
e41e3fe75d 2003-08-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/enable-tests.m4: Change to support
	--enable-tests=no|yes|samples, default is samples.
	* configure.ac: Reflect changes above.
2003-08-22 06:00:38 +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
3c55718aca Merger from rtems-4-6-branch. 2003-03-11 09:06:13 +00:00
Ralf Corsepius
ccd81b60c2 2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
2003-02-11 11:47:49 +00:00
Ralf Corsepius
9b5c258556 2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AC_PREREQ(2.57).
2003-02-11 11:11:33 +00:00
Joel Sherrill
cb9b2bfcaa 2002-04-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove ENABLE_GCC28.
2002-04-16 13:53:23 +00:00
Joel Sherrill
7273b6e166 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.
2002-03-28 00:54:58 +00:00
Joel Sherrill
d7aecdc8f8 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
	* configure.in: Remove.
2001-10-12 18:47:00 +00:00