Commit Graph

35 Commits

Author SHA1 Message Date
Sebastian Huber
eae263c609 mptests/mp14: Make MAX_LONG_TEST_DURATION constant
If there is a real need, it can be made a configuration option again.

Update #3818.
2019-11-12 09:36:20 +01:00
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
3206879f06 testsuite/mptests: Merged nested Makefile.am files into one Makefile.am
This change is part of the testsuite Makefile.am reorganization.

Update #3382
2018-04-10 08:24:54 +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
Aun-Ali Zaidi
d5154d0f6a api: Remove deprecated Notepads
Notepads where a feature of RTEMS' tasks that simply functioned in
the same way as POSIX keys or threaded local storage (TLS). They were
introduced well before per task variables, which are also deprecated,
and were barely used in favor of their POSIX alternatives.

In addition to their scarce usage, Notepads took up unnecessary memory.
For each task:

 - 16 32-bit integers were allocated.
 - A total of 64 bytes per task per thread.

This is especially critical in low memory and safety-critical applications.

They are also defined as uint32_t, and therefore are not guaranteed to
hold a pointer.

Lastly, they are not portable solutions for SMP and uniprocessor systems,
like POSIX keys and TLS.

updates #2493.
2015-12-24 16:52:34 -06:00
Sebastian Huber
1207288022 Update bug report URL 2014-12-05 07:47:32 +01: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
27a345bfb8 Remove CVS-Ids. 2012-05-04 09:36:24 +02:00
Ralf Corsepius
027e40dc03 2011-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add AC_CONFIG_HEADER(config.h).
2011-02-22 14:56: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
Ralf Corsepius
50a7df108c 2009-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Don't add -ansi -fasm to CFLAGS.
2009-10-20 04:14:56 +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
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
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
f1a744e780 2004-04-22 Ralf Corsepius <ralf_corsepius@rtems.org>
PR 613/bsps
	* configure.ac: Add AC_ARG_VAR([MAX_LONG_TEST_DURATION],...).
	* mp14/node1/Makefile.am, mp14/node2/Makefile.am: Add AM_CPPFLAGS +=
	-DMAX_LONG_TEST_DURATION=$(MAX_LONG_TEST_DURATION).
2004-04-22 04:51:43 +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
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
c6328bee62 2003-10-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove RTEMS_CANONICAL_HOST.
2003-10-22 10:05:17 +00:00
Ralf Corsepius
5445ee60a6 2003-10-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:Remove RTEMS_CHECK_CPU.
2003-10-02 03:44:52 +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
c98849ef33 2003-05-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove CC_CFLAGS_DEBUG_V.
	CC_CFLAGS_DEFAULT (obsolete).
2003-05-27 09:40:33 +00:00
Ralf Corsepius
78bea1442c 2003-05-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove CC_CFLAGS_PROFILE_V.
	Remove CC_LDFLAGS_PROFILE_V.
2003-05-27 07:18:07 +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
ed794ad779 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]).
	* mp01/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp01/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp01/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp02/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp02/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp02/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp03/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp03/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp03/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp04/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp04/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp04/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp05/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp05/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp05/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp06/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp06/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp06/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp07/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp07/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp07/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp08/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp08/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp08/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp09/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp09/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp09/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp10/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp10/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp10/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp11/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp11/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp11/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp12/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp12/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp12/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp13/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp13/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp13/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp14/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp14/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mp14/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:44:13 +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