| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous cache manager support used a single souce file
(cache_manager.c) which included an implementation header (cache_.h).
This required the use of specialized include paths to find the right
header file. Change this to include a generic implementation header
(cacheimpl.h) in specialized source files.
Use the following directories and files:
* bsps/shared/cache
* bsps/@RTEMS_CPU@/shared/cache
* bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY/start/cache.c
Update #3285.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
This is a cache manager implementation header file.
Update #3254.
|
|
|
|
| |
Fixes #2515.
|
|
|
|
|
|
| |
Make sure also the size is cache aligned since otherwise we may have
some overlap with the next allocation block. A cache invalidate on this
area would be fatal.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* Makefile.am: Eliminate CFLAGS_OPTIMIZE_V.
|
|
|
|
| |
* Makefile.am: Fix typo.
|
|
|
|
| |
* Makefile.am: Remove build-variant support.
|
|
|
|
| |
* Makefile.am: Don't include .../lib.am.
|
|
|
|
|
|
|
|
|
| |
* Makefile.am: Split the blob of *.o into cache.rel, page.rel and
score.rel. Add PREINSTALL_DIRS.
Use automake compilation rules.
* page.c, cpuModel.S: Remove stray blanks.
* configure.ac: Require automake >= 1.8.2.
Add AM_PROG_CC_C_O. Add subdir-objects to AUTOMAKE_OPTIONS.
|
|
|
|
|
| |
* Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES.
Add PRE/TMPINSTALL_FILES to CLEANFILES.
|
|
|
|
| |
* Makefile.am: Eliminate VPATH.
|
|
|
|
| |
* Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
|
|
|
|
| |
* Makefile.am: Remove all-local: $(ARCH).
|
|
|
|
| |
* Makefile.am: Reformat. Use dirstamps for preinstallation.
|
|
|
|
| |
* Makefile.am: Reflect having moved aclocal/.
|
|
|
|
| |
Makefile.am: Reflect having moved automake.
|
|
|
|
|
|
| |
* Makefile.am: Don't include @RTEMS_BSP@.cfg.
Eliminate *_O_FILES.
* configure.ac: Remove RTEMS_CHECK_CUSTOM_BSP.
|
|
|
|
| |
* Makefile.am: Use .$(OBJEXT) instead of .o.
|
|
|
|
|
|
|
| |
* cpuModel.S: Include <rtems/score/registers.h> instead of
<libcpu/registers.h>.
* registers.h: Removed.
* Makefile.am: Remove registers.h.
|
|
|
|
|
|
|
| |
* configure.ac:
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
* Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
|
|
|
| |
* Makefile.am: Use 'PREINSTALL_FILES ='.
* Makefile.am: Use 'CLEANFILES ='.
|
|
|
|
|
| |
* Makefile.am: Apply include_*HEADERS instead of H_FILES.
* .cvsignore: Add cache.h.
|
|
|
|
| |
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
|
|
|
|
| |
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
|
|
|
|
|
| |
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
Switch to GNU canonicalization.
|
|
|
|
|
| |
* idt.c, Makefile.am: Moved idt.c to libbsp/i386/shared so
i386 RTEMS can be multilib'ed.
|
|
|
|
| |
* Makefile.am: Include compile.am
|
|
|
|
|
|
| |
now is an implementation of the prototypes in rtems/rtems/cache.h.
The libcpu/i386/wrapup directory is no longer needed.
The PowerPC needs this done to it.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Ralf Corsepius <corsepiu@faw.uni-ulm.de> that contain:
* Modifications, (minor) corrections, cleanups to most existing
Makefile.ams
* Adds automake support to all remaining BSPs which have not yet been
converted to automake.
* Makefile.am for all remaining wrapup/Makefile.ams
|
|
to automake by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
|