| 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.
|
|
Update #3254.
|
|
This collection of BSPs shared the linker script shared/startup/linkcmds.
I renamed that ot shared/startup/linkcmds.share and made a BSP family
specific startup/linkcmds. This was needed because each BSP family had
a different combination of start file name, undefined symbols, etc.
Updates #3520.
|
|
This header file contained timing overhead values which are hard to
maintain.
Update #3254.
|
|
Fix build error introduced in f535fe5311978af53635c2da8e5cb10ef9d78802.
|
|
With this patch the preinstall.am files are in a set order and not
dependent on now perl implements a hash.
|
|
All constants that should have been in cpukit pci.h were moved there.
One naming style was corrected. This impacted if_wm.c.
All other contents were the same as powerpc/shared/pci.h so BSP
specific pci.h could be eliminated.
|
|
|
|
* Makefile.am: Cleanup ../../shared/include/bootcard.h handling.
|
|
|
|
* Makefile.am, irq/irq.c, irq/irq.h, irq/irq_init.c:
use new exception/irq support from
libcpu/powerpc/new-exceptions/bspsupport
rather than borrowing from ../shared/vectors ../shared/irq
|
|
|
|
* ChangeLog, Makefile.am, README, README.booting, README.irq,
preinstall.am, GT64260/MVME5500I2C.c, include/bsp.h, irq/irq.c,
irq/irq.h, irq/irq_init.c, pci/detect_host_bridge.c, pci/pci.c,
pci/pci_interface.c, pci/pcifinddevice.c, start/preload.S,
startup/bspclean.c, startup/bspstart.c, startup/pgtbl_activate.c,
startup/reboot.c, vectors/bspException.h, vectors/exceptionhandler.c:
Merge my improvements in this BSP including a new network
driver for the 1GHz NIC.
* network/if_100MHz/GT64260eth.c, network/if_100MHz/GT64260eth.h,
network/if_100MHz/GT64260ethreg.h, network/if_100MHz/Makefile.am,
network/if_1GHz/Makefile.am, network/if_1GHz/POSSIBLEBUG,
network/if_1GHz/if_wm.c, network/if_1GHz/if_wmreg.h,
network/if_1GHz/pci_map.c, network/if_1GHz/pcireg.h: New files.
|
|
* Makefile.am, preinstall.am, include/bsp.h,
* vme/vmeconfig.c (removed), vme/VME.h (removed):
cleaned up vme support - use files from libbsp/powerpc/shared/vme
and define BSP specifica in VMEConfig.h.
Use VME DMA support implemented by vmeUniverse and
libbsp/powerpc/shared/vme/vme_universe_dma.c
|
|
* mvme5500/vme/VMEConfig.h, mvme5500/vme/VME.h,
* mvme5500/vme/vmeconfig.c:
removed copies of vmeconfig.c, VME.h - use generic
versions instead.
|
|
|
|
need to install bsp/vme_am_defs.h
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Don't include subdirs.am.
|
|
* startup/linkcmds: Removed.
* Makefile.am, start/preload.S, startup/bspstart.c: use linkcmds
from shared area - this version seemed broken anyways. Let the
preloader use the generic 'entry_point_section' rather than its own
'mvme5500_preloader_section'. Also, let zero_bss use (implicit?)
__SBSSxxx__ symbols.
|
|
* Makefile.am: Merge-in wrapup/Makefile.am.
* wrapup/Makefile.am: Remove.
* configure.ac: Reflect changes above.
|
|
|
|
* Makefile.am: Eliminate CFLAGS_OPTIMIZE_V.
|
|
* Makefile.am, wrapup/Makefile.am: Remove build-variant support.
|
|
* Makefile.am: Fix network_CPPFLAGS. Reformat.
* network/GT64260eth.c: Properly prototype GT64260eth_err().
|
|
|
|
* Makefile.am: Add missing network_CPPFLAGS.
|
|
|
|
* Makefile.am: Build networking.rel conditionally.
Reformat. Cosmetics.
* wrapup/Makefile.am: Build networking.rel conditionally.
* startup/bspstart.c: Eliminate RTEMS fixed size types.
|
|
* configure.ac: Adaptations to rtems-4.7.
* Makefile.am, wrapup/Makefile.am: Reworked.
|
|
|