Commit Graph

136 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
Kevin Kirspel
1c6926c11f termios: Synchronize with latest FreeBSD headers
Adding modified FreeBSD headers to synchronize RTEMS termios with
FreeBSD.  Modify termios to support dedicated input and output baud for
termios structure.  Updated BSPs to use dedicated input and output baud
in termios structure.  Updated tools to use dedicated input and output
baud in termios structure.  Updated termios testsuites to use dedicated
input and output baud in termios structure.

Close #2897.
2017-03-22 11:55:04 +01:00
Martin Galvan
9147a825d6 tools/cpu/nios2/ptf.c: Fix leak of memory pointed to by new_prefix
Updates #2405.
2015-09-03 12:33:25 -05:00
Martin Galvan
17f71fc780 tools/cpu/nios2/memory.c: Fix uninitialized use of variable memory
Updates #2405.
2015-09-03 11:28:06 -05:00
Joel Sherrill
439d0ae6d4 tools/cpu/nios2/ptf.c: Add include of <ctype.h> 2015-03-24 08:16:46 -05:00
Joel Sherrill
41a007422d tools/cpu/sh/sci.c: Add include of bsp.h to generated file 2015-03-09 16:14:16 -05:00
Sebastian Huber
b033e85324 tools: Fix fprintf() statement
Close #2240.
2015-01-23 12:47:46 +01:00
Joel Sherrill
125e23bdcf tools/cpu/nios2/ptf.c: Add include to fix warnings 2015-01-13 15:41:32 -06:00
Sebastian Huber
1207288022 Update bug report URL 2014-12-05 07:47:32 +01:00
Chris Johns
c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11: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
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
a53584c028 Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Ralf Corsépius
8ebf3db423 Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Ralf Corsépius
d8ba99b47d Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Ralf Corsépius
323d04127f Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Joel Sherrill
61250b4ce9 Remove all .cvsignore files. 2012-02-01 10:59:44 -06:00
Joel Sherrill
d751cecbb1 * tools/build/.cvsignore, tools/build/ChangeLog,
tools/build/Makefile.am, tools/build/README, tools/build/binpatch.c,
	tools/build/cklength.c, tools/build/config.h.in,
	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: New files.
2011-05-17 20:39:40 +00: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
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
5f5f681b69 Whitespace removal. 2009-12-10 07:20:06 +00:00
Ralf Corsepius
1214e36e31 Fix indentation. 2007-01-27 11:35:11 +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
Joel Sherrill
16fd5a99e1 2006-08-15 Kolja Waschk <kawk@telos.de>
* linkcmds.c, linkcmds.h, memory.c, memory.h, sample.ptf: New files.
	* bridges.c: corrected detection of bridged connections
	* clocks.c: removed a printf
	* linkcmds.[ch] new files, added output of linker script
	* Makefile.am: added new files
	* memory.[ch]: new files, detection of memory in SOPC configuration
	* nios2gen.c: updated command line parsing and output control
	* output.[ch]: improved output of BSP header file
	* ptf.[ch]: added ptf_dump_ptf_item and small fixes
	* sample.ptf: new file, sample configuration for nios2gen
	* README: updated
2006-08-15 21:02:55 +00:00
Joel Sherrill
aeb5ffba57 2006-08-10 Joel Sherrill <joel@oarcorp.com>
* nios2gen.c: Added some very basic support for --help and --version
	options along with output that is roughly in GNU format. This is
	required by help2man. help2man expects this all to be written to
	stdout instead of stderr so this was changed as well.
	* ChangeLog: New file.
2006-08-10 14:05:57 +00:00
Joel Sherrill
037e16396d 2006-08-09 Kolja Waschk <waschk@telos.de>
* configure.ac: New port to Altera NIOS II.
	* nios2/.cvsignore, nios2/Makefile.am, nios2/README, nios2/bridges.c,
	nios2/bridges.h, nios2/clocks.c, nios2/clocks.h, nios2/configure.ac,
	nios2/devices.c, nios2/devices.h, nios2/nios2gen.c, nios2/output.c,
	nios2/output.h, nios2/ptf.c, nios2/ptf.h: New files.
2006-08-09 21:05:32 +00:00
Ralf Corsepius
f4f96e998c 2006-01-31 Ralf Corsepius <ralf.corsepius@rtems.org>
* shgen.c: include <stdlib.h>.
2006-01-31 05:49:12 +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
76bc393deb 2004-09-24 Ralf Corsepius <ralf_corsepiu@rtems.org>
* configure.ac: Remove RTEMS_CPU_SUBDIRS.
2004-09-24 03:54:21 +00:00
Ralf Corsepius
8f71a36f71 Remove stray white spaces. 2004-04-20 07:09:31 +00:00
Ralf Corsepius
4ba223e18a 2004-02-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: DIST_SUBDIRS = @subdirs@.
2004-02-04 16:35:02 +00:00
Ralf Corsepius
c09248b98b 2004-01-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Let shgen.1 depend on shgen$(EXEEXT).
2004-01-06 17:04:09 +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
75a25c0d70 2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Cosmetics.
2003-12-12 02:07:37 +00:00
Joel Sherrill
060140dbf3 2003-09-26 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Obsoleting HP PA-RISC port.
2003-09-26 21:46:14 +00:00
Joel Sherrill
effa44171b 2003-09-26 Joel Sherrill <joel@OARcorp.com>
* hppa1.1/.cvsignore, hppa1.1/ChangeLog, hppa1.1/Makefile.am,
	hppa1.1/configure.ac, hppa1.1/genoffsets.c: Removed.
2003-09-26 21:39:32 +00:00
Joel Sherrill
4ae472871d 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* genoffsets.c: URL for license changed.
2003-09-04 18:55:12 +00:00
Joel Sherrill
9e71218b1e 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* size_rtems.in: URL for license changed.
2003-09-04 18:55:11 +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
5ba8f3067b Merger from rtems-4-6-branch. 2003-03-11 12:12:22 +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
352288b7b1 2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Reformat.
	Add autom4te*cache.
	Remove autom4te.cache.
2002-10-21 12:28:23 +00:00