| Commit message (Collapse) | Author | 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.
|
|
warnings
|
|
|
|
These files were left after running the script in the previous patch.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Include <bsp/default-initial-extension.h> in all BSPs. Call
rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit()
status code as fatal code in every bsp_cleanup(). Move previous
bsp_cleanup() code into bsp_fatal_extension().
|
|
|
|
This reverts commit daffa606cc4a45d93c1f0f4fe365fde0fda6acbb.
Conflicts:
c/src/lib/libbsp/arm/lpc24xx/include/bspopts.h.in
c/src/lib/libbsp/powerpc/mpc55xxevb/include/bspopts.h.in
c/src/lib/libbsp/powerpc/qoriq/include/bspopts.h.in
Manually deleted conflicting files.
|
|
|
|
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.
|
|
|
|
* make/custom/mpc8309som.cfg, startup/linkcmds.mpc8309som: New file.
* Makefile.am, preinstall.am: Reflect changes above.
* configure.ac, console/console-config.c, include/bsp.h,
include/hwreg_vals.h, include/irq.h, network/network.c,
spi/spi_init.c, startup/cpuinit.c: Renamed various BSP options.
* make/custom/gen83xx.inc, make/custom/hsc_cm01.cfg,
make/custom/mpc8313erdb.cfg, make/custom/mpc8349eamds.cfg: Avoid
special linkcmds.
|
|
* configure.ac, console/console-config.c, i2c/i2c_init.c,
include/bsp.h, include/hwreg_vals.h, include/irq.h, include/tm27.h,
include/tsec-config.h, irq/irq.c, network/network.c, spi/spi_init.c,
startup/bspstart.c: Address some of the issues spotted by the
check_bsp script.
|
|
* include/u-boot.h: Removed file.
* include/u-boot-config.h, include/tsec-config.h: New files.
* include/bsp.h, start/start.S, startup/bspstart.c: Use new U-Boot
support.
* network/network.c: Update for API changes.
* Makefile.am, preinstall.am: Reflect changes above.
|
|
* console/console.h, console/console.c, console/config.c,
console/ns16550cfg.c: Removed files.
* console/console-config.c: New file.
* Makefile.am: Reflect changes above.
* configure.ac: New BSP options.
* include/bsp.h: Use new BSP options.
* network/network.c: Avoid memory leak.
* startup/bspstart.c: Initialize console port table.
* spi/spi_init.c: Update for SD card API changes.
|
|
* include/irq-config.h: Removed file.
* Makefile.am, preinstall.am: Reflect change above.
* include/irq.h: Moved defines from 'include/irq-config.h'.
|
|
|
|
|
|
correct some init values for HSC_CM01 boards
|
|
correct some init values for HSC_CM01 boards
change strategy to determine MAC address
|
|
* Makefile.am, preinstall.am: Use shared stub coverhd.h
* include/coverhd.h: Removed.
|
|
* include/bsp.h: #include <bspopts.h> first.
|
|
* Makefile.am, console/console.c, include/bsp.h: Use standardized
bsp_cleanup() which can optionally print a message, poll for user to
press key, and call bsp_reset(). Using this eliminates the various
bsp_cleanup() implementations which had their own implementation and
variety of string constants.
* startup/bspreset.c: New file.
* startup/bspclean.c: Removed.
|
|
* include/bsp.h, network/network.c: Fix missed name change.
|
|
* Makefile.am, include/bsp.h, start/start.S, startup/bspstart.c,
startup/cpuinit.c: Use top level shared bsp_get_work_area()
implementation. Augment it to know about U-Boot.
* startup/bspgetworkarea.c: Removed.
|
|
* include/bsp.h: Remove unnecessary boilerplate comments.
|
|
* include/bsp.h: Eliminate definitions of BSP_LIBIO_MAX_FDS since this
is NOT used anywhere.
|
|
* include/bsp.h: Review of all bsp_cleanup() implementations. In this
phase, all prototypes were removed from bsp.h and empty
implementations were removed and made to use the shared stub.
|
|
|
|
* Makefile.am: Added bspclean.c and use shared bsppretaskinghook.c.
* console/console.c: Added poll for char helper.
* include/bsp.h: Add macro definitions for optional reset behavior.
* startup/bspstart.c: Split out bsp_cleanup(). Clean up.
* startup/bspclean.c: New file. Not can press any key on normal
shutdown to reset board when on MPC8313erdb.
|
|
* include/tm27.h: Uses now a decrementer exception handler. Replaces
previous file.
* startup/bspstart.c: Install a default decrementer exception handler.
|
|
* include/bsp.h, network/network.c, spi/spi_init.c, startup/cpuinit.c,
startup/uboot_support.c: Fixed warnings.
|
|
added support for an optional separate heap area.
|
|
updated haleakala BSP
added MPC55xx BSP
|
|
|
|
* include/bsp.h, startup/bspstart.c: Eliminate copies of the
Configuration Table. Use the RTEMS provided accessor macros to obtain
configuration fields.
|
|
added IRQ support to MPC83xx i2c driver
added mpc83xx spi driver
|
|
* configure.ac: Fix path.
* include/bsp.h: Fix typo.
|
|
|
|
|
|
|
|
* include/.cvsignore: New file.
|
|
* ChangeLog: New file.
* aclocal.m4, include/bspopts.h.in: Removed.
|
|
many different versions of new exception handling code to shared sources.
|