| 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.
|
|
|
|
| |
Update #3254.
|
|
|
|
|
|
|
| |
This header file contained timing overhead values which are hard to
maintain.
Update #3254.
|
|
|
|
|
|
|
|
|
|
|
| |
The file console-polled.h provides the prototypes for the three
required methods when implementing a single port polled console
driver. This paradigm is common on simulators and simple hardware.
+ Updated the BSPs Makefile.am to make console-polled.h available.
+ Regenerated the BSPs preinstall.sm.
+ Updated console support files to include <bsp/console-polled.h>.
+ Updated console support files to make printk() support method static.
|
|
|
|
|
| |
With this patch the preinstall.am files are in a set order and not
dependent on now perl implements a hash.
|
|
|
|
|
| |
Apparently, at some point automake output changed and these were
not updated.
|
|
|
|
|
| |
Several GCC tests faild due to the outdated previous linker command
file.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, preinstall.am, irq/no_pic.c (REMOVED),
irq/irq.h, irq/irq_init.c:
use openpic from 'shared' area instead of no_pic.
* inlude/psim.h:
use openpic from 'shared' area instead of no_pic.
Added 'extern' declaration for (linker-script defined) RamBase
and RamSize symbols. Let CPP macros expand to these symbols
instead of static constants.
Added register definitions for OpenPIC in the register area.
Added register definitions for ethernet controller in the register
area.
* startup/linkcmds: Increased RamSize to 16M. Increased 'RAM'
memory region to 32M (there is really no disadvantage in making
this large). Added comment explaining the inter-relation between
RamSize, the size of the memory region, the device-tree property
"oea-memory-size" and the DBAT setting.
* tools/psim-shared: Try to determine RamSize from executable
and set 'oea-memory-size' accordingly. May be overridden if 'RAM_SIZE'
envvar is set.
Added openpic to device-tree.
Added ethernet controller to device-tree (commented because a PSIM
patch is currently required to use this device).
* startup/bspstart: Increase DBAT0 mapping to size of 32M.
|
|
|
|
| |
* Makefile.am: Cleanup ../../shared/include/bootcard.h handling.
|
|
|
|
|
|
|
| |
* Makefile.am, preinstall.am, shmsupp/getcfg.c, shmsupp/lock.c,
startup/linkcmds: Now running mptests using new memory layout with
updates patches against gdb 6.8.
* include/psim.h, startup/psim_registers.c: New files.
|
|
|
|
|
| |
* Makefile.am, irq/irq_init.c: use vector/interrupt
support from libcpu/powerpc/new-exceptions/bspsupport.
|
|
|
|
|
| |
* Makefile.am: irq_supp.h was moved from shared/irq to
libcpu/powerpc/new-exceptions/bspsupport.
|
|
|
|
|
| |
* irq/irq.h, irq/no_pic.c: some more changes to let
using shared/irq/irq.c work.
|
| |
|
| |
|
| |
|
| |
|
|
|