Commit Graph

35 Commits

Author SHA1 Message Date
Sebastian Huber
adb85dd473 bsps: Move make/custom/* files to bsps
Adjust various build files.  Remove automatic generation of the
c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script.

This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-23 15:18:42 +02: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
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
bc8176bcd5 c/Makefile.am, c/configure.ac: Remove references to TOOL_TARGETS 2016-01-04 14:03:31 -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
af981ca0c9 Remove CVS-Ids. 2012-05-04 09:36:25 +02: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
309dbd07ff Whitespace removal. 2009-11-28 06:28:41 +00:00
Ralf Corsepius
8d9d5bd813 2009-10-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove reference to bare BSP.
	Simplify RTEMS_BSP_LIST setup.
2009-10-21 05:01:14 +00:00
Ralf Corsepius
92de627004 2007-03-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Use MKDIR_P instead of mkdir_p.
2007-03-27 06:10:16 +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
2d1daaef4d 2004-10-18 Ralf Corsepius <ralf_corsepius@rtems.org>
* configure.ac: Rework checking for BSPs.
2004-10-18 09:33:13 +00:00
Ralf Corsepius
2c8d5f2a95 2004-10-18 Ralf Corsepius <ralf_corsepius@rtems.org>
* acinclude.m4: Remove RTEMS_CHECK_CPU.
	* configure.ac: Remove RTEMS_CHECK_CPU, RTEMS_ENABLE_BARE.
2004-10-18 09:28:00 +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
1b7c918309 2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* configure.ac: Add --with-project-root, --with-project-top to
	rtems_bsp_configure.
2004-03-31 10:56:48 +00:00
Ralf Corsepius
1204f225cb 2004-02-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Cosmetics.
	* configure.ac: Add support for --disable-rtemsbsp. Cosmetics.
2004-02-17 13:44:16 +00:00
Ralf Corsepius
73dc1521e4 2003-12-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove RTEMS_BSP-subdir rule.
	* configure.ac: Let AC_CONFIG_FILES(Makefile..) append explictit
	rules for RTEMS_BSP-subdirs.
2003-12-14 16:35:54 +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
5c58243c2b 2003-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Cosmetics.
	* Makefile.am: Cosmetics.
2003-12-11 16:06:32 +00:00
Ralf Corsepius
d2efe94117 2003-10-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* acinclude.m4: Merge-in former ../aclocal/config-subdirs.m4.
	* configure.ac: remove RTEMS_CANONICAL_HOST.
2003-10-23 15:39:37 +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
24af9a0677 Merger from rtems-4-6-branch. 2003-03-25 08:30:09 +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
Ralf Corsepius
45789f2bb2 2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Fix --enable-rtemsbsp= handling.
2002-10-21 13:10:06 +00:00
Ralf Corsepius
2fe08ccb0b 2002-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Apply RTEMS_CONFIGURE_ARGS_QUOTE.
2002-10-11 04:31:22 +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
d04956892a 2002-02-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove make from SUBDIRS.
	* configure.ac: Remove make from CONFIG_SUBDIRS, cosmetics.
2002-01-06 20:11:49 +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