| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* mongoosev/duart/mg5uart.c, mongoosev/include/mongoose-v.h,
mongoosev/vectorisrs/vectorisrs.c,
shared/interrupts/vectorexceptions.c, tx39/include/tx3904.h:
Cosmetics.
|
|
|
|
|
|
|
|
| |
* clock/ckinit.c, clock/clock.h, mongoosev/duart/mg5uart.c,
mongoosev/duart/mg5uart.h, mongoosev/duart/mg5uart_reg.c,
mongoosev/include/mongoose-v.h, mongoosev/vectorisrs/vectorisrs.c,
shared/interrupts/vectorexceptions.c, timer/timer.c,
tx39/include/tx3904.h: Convert to using c99 fixed size types.
|
| |
|
|
|
|
|
|
|
|
| |
* mongoosev/Makefile.am: Rework preinstall rules.
* mongoosev/duart/Makefile.am: Rework preinstall rules.
* tx39/include/Makefile.am: Remove.
* tx39/Makefile.am: Merge-in tx39/include/Makefile.am.
* configure.ac: Remove tx39/include/Makefile.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Makefile.am: Reflect having moved automake.
clock/Makefile.am: Reflect having moved automake.
mongoosev/Makefile.am: Reflect having moved automake.
mongoosev/duart/Makefile.am: Reflect having moved automake.
mongoosev/vectorisrs/Makefile.am: Reflect having moved automake.
r46xx/Makefile.am: Reflect having moved automake.
r46xx/vectorisrs/Makefile.am: Reflect having moved automake.
shared/Makefile.am: Reflect having moved automake.
shared/cache/Makefile.am: Reflect having moved automake.
shared/interrupts/Makefile.am: Reflect having moved automake.
timer/Makefile.am: Reflect having moved automake.
tx39/Makefile.am: Reflect having moved automake.
tx39/include/Makefile.am: Reflect having moved automake.
tx39/vectorisrs/Makefile.am: Reflect having moved automake.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac:
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
* clock/Makefile.am: Remove AUTOMAKE_OPTIONS.
* Makefile.am: Remove AUTOMAKE_OPTIONS.
* mongoosev/duart/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mongoosev/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mongoosev/include/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mongoosev/vectorisrs/Makefile.am: Remove AUTOMAKE_OPTIONS.
* r46xx/vectorisrs/Makefile.am: Remove AUTOMAKE_OPTIONS.
* r46xx/Makefile.am: Remove AUTOMAKE_OPTIONS.
* shared/cache/Makefile.am: Remove AUTOMAKE_OPTIONS.
* shared/Makefile.am: Remove AUTOMAKE_OPTIONS.
* shared/interrupts/Makefile.am: Remove AUTOMAKE_OPTIONS.
* timer/Makefile.am: Remove AUTOMAKE_OPTIONS.
* tx39/include/Makefile.am: Remove AUTOMAKE_OPTIONS.
* tx39/Makefile.am: Remove AUTOMAKE_OPTIONS.
* tx39/vectorisrs/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
|
|
|
|
|
|
| |
* tx39/include/Makefile.am: Use 'TMPINSTALL_FILES ='.
* mongoosev/include/Makefile.am: Use 'TMPINSTALL_FILES ='.
* mongoosev/duart/Makefile.am: Use 'PREINSTALL_FILES ='.
* shared/cache/Makefile.am: Use 'PREINSTALL_FILES ='.
* shared/cache/Makefile.am: Use 'CLEANFILES ='.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mongoosev/include/mongoose-v.h, mongoosev/vectorisrs/vectorisrs.c,
r46xx/vectorisrs/vectorisrs.c, tx39/vectorisrs/vectorisrs.c,
tx39/include/tx3904.h: All exceptions were given low numbers and thus
can be now be installed and processed in a uniform manner just like interrupts.
Variances between various MIPS ISA levels are not accounted for at this time.
* mongoosev/vectorisrs/Makefile.am, mongoosev/vectorisrs/maxvectors.c,
r46xx/vectorisrs/Makefile.am, r46xx/vectorisrs/maxvectors.c,
tx39/vectorisrs/Makefile.am, tx39/vectorisrs/maxvectors.c,
shared/interrupts/maxvectors.c, shared/interrupts/Makefile.am: Split the
shared maxvectors.c into a variety of CPU model specific versions to simplify
the build process and reduce depdencies. Deleted shared/interrupts/maxvectors.c
and created various CPU model versions.
|
|
|
|
|
| |
* shared/cache/Makefile.am, tx39/include/Makefile.am:
Apply include_*HEADERS instead of H_FILES.
|
|
* shared/.cvsignore, shared/Makefile.am,
shared/cache/.cvsignore, shared/cache/Makefile.am,
shared/cache/cache.c, shared/cache/cache_.h,
shared/interrupts/.cvsignore, shared/interrupts/Makefile.am,
shared/interrupts/installisrentries.c,
shared/interrupts/isr_entries.S,
shared/interrupts/maxvectors.c, tx39/.cvsignore,
tx39/Makefile.am, tx39/include/.cvsignore,
tx39/include/Makefile.am, tx39/include/tx3904.h: New file.
Moved some pieces of interrupt processing from score/cpu to
libcpu/mips since many interrupt servicing characteristics are
CPU model dependent. This patch addresses the number of interrupt
sources and where the ISR prologues are located. The only way to
currently install the ISR prologues requires that the prologues
be installed into RAM.
|