Commit Graph
198 Commits
Author SHA1 Message Date
Sebastian Huber 477bca2d61 build: Remove local.am 2018-10-10 07:57:47 +02:00
Sebastian Huber bac8d93418 tools: Remove install-if-change program
The last installed tool in RTEMS repository is the install-if-change
script.  It is not used to build/install BSPs.  This script does the
same as the standard "install" program with an additional feature to
install variants via the -V command line option.

This script is used by the standard Makefile support:

c/src/make/host.cfg.in:INSTALL_CHANGE=$(PROJECT_BIN)/install-if-change

The INSTALL_CHANGE is used by:

c/src/make/host.cfg.in:ifndef INSTALL_CHANGE
c/src/make/host.cfg.in:INSTALL_CHANGE=$(PROJECT_BIN)/install-if-change
c/src/make/host.cfg.in:INSTALL_VARIANT=$(INSTALL_CHANGE) -V
"$(LIB_VARIANT)"

Remove the support for variant installation and instead use the standard
"install" program.  This breaks application Makefiles using the standard
Makefile support of RTEMS.

Close #3455.
2018-06-15 12:57:32 +02:00
Sebastian Huber 6fb0223a43 make: Remove obsolete AC_SUBST() 2018-06-15 12:57:32 +02:00
Sebastian Huber 5ff9547adc make: Remove CFLAGS_DEBUG_OPTIMIZE_V
Do not document CFLAGS_DEBUG_OPTIMIZE_V, since this flag is not used.
2018-06-15 12:57:32 +02:00
Sebastian Huber e8b28ba004 tools: Remove packhex
All tools should be removed from the RTEMS source repository at some
point in time.  Tools with a BSD-style license will be moved to the
RTEMS tools repository.  Unfortunately, this tool has no license
information.

Remove all uses of this tool from the code base.  Users of HEX files
should consider to use ELF instead.

Close #3379.
2018-06-15 07:14:36 +02:00
Sebastian Huber ea092ccc79 tools: Remove rtems-bin2c
This tool is now included in the RTEMS tools repository.

Close #3380.
2018-06-14 07:33:46 +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
Sebastian Huber 2d0bc839ed build: Remove EXTRA_DIST
A "make dist" is not supported. So, it makes no sense to have pure "make
dist" related stuff in the Makefile.am.
2018-04-04 10:09:04 +02: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
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
Nick Withers efdda56546 Use $(EXEEXT) [defaults to "exe"] to generate binaries 2013-08-09 09:18:23 +02:00
Sebastian Huber 98db96e35a make: Use C flags for C++ as default
In case a BSP selects special CFLAGS_OPTIMIZE_V flags then they will be
also used for CXXFLAGS_OPTIMIZE_V automatically for example.
2013-06-29 15:15:49 +02:00
Gedare Bloom fad2d38a9f RTEMS: Delete ChangeLog files.
This commit deletes all RTEMS ChangeLog files. These files have been abandoned
since converting to git version control. The historical data may be recovered
by checking out any commit before this one. Most of the contents of these
ChangeLog files can also be found in the git log.

Two external ChangeLog files, ChangeLog.slac and ChangeLog.zlib, remain.
2013-03-08 15:55:06 -05:00
Sebastian Huber 83a2fad81b make: Add default flags 2013-02-13 09:49:53 +01:00
Sebastian Huber f67eee1344 make: Add CPPFLAGS 2013-02-13 09:49:53 +01:00
Sebastian Huber 780aadc184 make: Remove -Wno-unused flag for debug variant 2013-02-13 09:49:53 +01:00
Sebastian Huber 3e132a88c0 make: Remove -g flags
The -g flag is set by the BSP.
2013-02-13 09:49:53 +01:00
Sebastian Huber baa60b5e0b make: Remove -qrtems_debug flag usage 2013-02-13 09:49:53 +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 65c6425de9 Remove CVS Id Strings (manual edits after script)
These modifications were required by hand after running the script.
In some cases, the file names did not match patterns. In others,
the format of the file did not match any common patterns.
2012-05-11 08:44:14 -05: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 87b72d48bd Remove CVS-Ids. 2012-05-04 09:36:24 +02:00
Joel Sherrill 61250b4ce9 Remove all .cvsignore files. 2012-02-01 10:59:44 -06:00
Sebastian Huber 78384114f2 Revert "Support custom Makefiles."
This reverts commit 621e1c9b74.
2012-01-26 09:57:57 +01:00
Sebastian Huber 621e1c9b74 Support custom Makefiles. 2012-01-23 10:50:15 +01:00
Joel Sherrill 5fa9b7069d 2011-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1589/build
	* leaf.cfg, target.cfg.in, compilers/gcc-target-default.cfg: Remove
	obsolete optional manager capability.
2011-12-08 21:40:23 +00:00
Ralf Corsepius 2e4bc732b1 2011-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Don't generate host.cfg.in.
2011-06-16 16:49:22 +00:00
Joel Sherrill 3953cb4d66 2011-04-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, Makefile.inc.in, configure.ac, target.cfg.in: Update to
	account for movement of .cfg files.
2011-04-01 18:12:07 +00:00
Ralf Corsepius 49a97a9130 2011-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Use '|' as sed-delimiter.
2011-03-29 03:43:00 +00:00
Joel Sherrill 53a27c2f96 2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1760/misc
	* compilers/gcc-target-default.cfg: Fix typo in CPP definition.
2011-03-09 00:10:03 +00:00
Joel Sherrill 671ce2e8af 2011-03-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.inc.in: Fix PROJECT_ROOT to match usage in templates and
	existing Makefiles.
2011-03-08 23:56:52 +00:00
Ralf Corsepius 48588ab33d 2011-03-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am, configure.ac: Move file generation into Makefile.
2011-03-07 04:05:18 +00:00
Ralf Corsepius cc669290c0 2011-03-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.inc.in: Set PROJECT_ROOT = @pkgdatadir@.
2011-03-07 04:03:26 +00:00
Ralf Corsepius f2ffb7ec05 2011-03-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Install *.cfgs into $(pkgdatadir)/make.
2011-03-07 04:01:03 +00:00
Ralf Corsepius 795affd61f 2011-03-07 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1753/misc:
	* host.cfg.in: Remove RTEMS_HOST.
2011-03-07 03:49:54 +00:00
Ralf Corsepius 631180564b 2011-03-05 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1754/misc:
	* host.cfg.in: Remove GCCSED.
2011-03-05 18:48:35 +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 0043fd756c 2010-07-27 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1532/testing
	* host.cfg.in: Add initial tests for untar capabilities. This required
	BIN2C.
2010-07-27 18:18:29 +00:00
Ralf Corsepius 6b005b54ff 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.inc.in, bsp.cfg.in, configure.ac, target.cfg.in:
	Remove itron.
	* aclocal/check-itron.m4, aclocal/enable-itron.m4: Remove.
2010-06-17 16:30:05 +00:00
Ralf Corsepius 309dbd07ff Whitespace removal. 2009-11-28 06:28:41 +00:00
Ralf Corsepius db5c5d5ff3 2009-10-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp.mak: Remove RTEMS_BSP_FAMILY.
2009-10-21 10:10:10 +00:00
Ralf Corsepius 5d0a1db575 Remove BARE_CPU_MODEL, BARE_CPU_CFLAGS. 2009-10-16 14:39:09 +00:00
Ralf Corsepius 2fbe8495c4 2009-10-16 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Remove BARE_CPU_MODEL, BARE_CPU_CFLAGS.
2009-10-16 14:38:54 +00:00
Ralf Corsepius a68012dd06 2009-10-16 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/enable-bare.m4: Remove (Abandoned).
	* bsp.cfg.in: Remove BARE_CPU_MODEL, BARE_CPU_CFLAGS.
	* configure.ac: Remove RTEMS_ENABLE_BARE.
2009-10-16 14:38:39 +00:00
Ralf Corsepius 8ab62522bb Remove RTEMS_ENABLE_BARE. 2009-10-16 14:34:06 +00:00
Ralf Corsepius cd812d5755 Remove BARE_CPU_MODEL, BARE_CPU_CFLAGS. 2009-10-16 14:33:55 +00:00
Ralf Corsepius 08a89dd8b9 Remove (Abandoned). 2009-10-16 14:33:43 +00:00