summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sparc/preinstall.am (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove make preinstallChris Johns2018-01-251-62/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* sparc: Move <libcpu/byteorder.h>Sebastian Huber2018-01-021-0/+9
| | | | | Update #3254. Update #3260.
* score: Add <rtems/score/cpuimpl.h>Sebastian Huber2016-11-071-0/+4
| | | | | | The aim of this file is to encapsulate CPU port implementation details. This helps to hide implementation details from <rtems.h> which indirectly includes <rtems/score/cpu.h>.
* sparc: Optimize CPU counter supportSebastian Huber2016-06-221-0/+4
|
* score: Use atomic API for SMP lockSebastian Huber2014-02-171-4/+0
| | | | | Use a ticket lock implementation based on atomic operations. Delete CPU port specific SMP lock implementations.
* smp: New SMP lock APISebastian Huber2013-05-311-0/+4
| | | | | | | | | | | | | | Move the SMP lock implementation to the CPU port. An optimal SMP lock implementation is highly architecture dependent. For example the memory models may be fundamentally different. The new SMP lock API has a flaw. It does not provide the ability to use a local context for acquire and release pairs. Such a context is necessary to implement for example the Mellor-Crummey and Scott (MCS) locks. The SMP lock is currently used in _Thread_Disable_dispatch() and _Thread_Enable_dispatch() and makes them to a giant lock acquire and release. Since these functions do not pass state information via a local context there is currently no use case for such a feature.
* Revert bootstrap whitespace changes.Chris Johns2013-05-101-0/+1
|
* Using the generic atomic ops to implement UP mode atomic for all ↵WeiY2013-05-011-0/+3
| | | | architectures. SMP atomic port will be later.
* Regenerate.Ralf Corsepius2007-01-081-2/+2
|
* Regenerate.Ralf Corsepius2006-01-141-1/+1
|
* RegenerateRalf Corsepius2006-01-131-0/+2
|
* Regenerate.Ralf Corsepius2006-01-121-2/+2
|
* Auto-generated update.Ralf Corsepius2005-02-191-1/+1
|
* 2005-02-08 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-081-0/+39
* Makefile.am: Split out preinstallation rules. * preinstall.am: New (Split out from Makefile.am).