Sebastian Huber
865b30279a
Avoid Newlib-specific _EXFUN()
2018-01-29 13:53:55 +01:00
Chris Johns
2afb22b7e1
Remove make preinstall
...
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 .
2018-01-25 08:45:26 +01:00
Sebastian Huber
469fdebf25
bsp/qoriq: Fix define for optional intercom
...
Update #3085 .
2018-01-23 07:28:51 +01:00
Sebastian Huber
e79bb0c3bb
bsp/gen5200: Use public include path
...
Update #3254 .
2018-01-22 13:16:46 +01:00
Sebastian Huber
b391fbc61c
bsp/qoriq: Fix hypervisor guest interrupt init
...
Update #3085 .
2018-01-22 07:21:20 +01:00
Sebastian Huber
2fd684e233
bsp/qoriq: Fix hypervisor guest irq vector max
...
Update #3085 .
2018-01-22 07:21:20 +01:00
Sebastian Huber
0df59b7cbb
bsp/qoriq: Optional multiprocessing support
...
Update #3085 .
2018-01-22 07:21:20 +01:00
Sebastian Huber
44ba969c15
bsp/qoriq: Fix hypervisor guest polled console
...
Update #3085 .
2018-01-22 07:21:20 +01:00
Sebastian Huber
2f54488f74
bsp/qoriq: Fix hypervisor guest IRQ support
...
Update #3085 .
2018-01-22 07:21:20 +01:00
Sebastian Huber
81eced5376
bsp/qoriq: Fix bsp_fdt_map_intr()
...
Update #3085 .
2018-01-22 07:21:19 +01:00
Sebastian Huber
9ec5ff4e57
bsp/qoriq: Fix hypervisor guest MMU config
...
Account for DPAA resources defined in the device tree.
Prevent merging of areas with incompatible MAS2.
Update #3085 .
2018-01-22 07:21:19 +01:00
Sebastian Huber
17fd0ff0cd
bsps: Move wd80x3.h to libchip/wd80x3.h
...
This header is used also by the motorola_powerpc BSP.
Update #3254 .
2018-01-22 07:17:41 +01:00
Sebastian Huber
d898f6e18e
bsp/gen5200: Fix i2c.h and i2cdrv.h installation
...
Install these files only as <bsp/i2c.h> and <bsp/i2cdrv.h>.
Update #3254 .
2018-01-19 15:29:31 +01:00
Sebastian Huber
0a4992927d
bsp/leon3: Fix interrupt timestamp timecounter
2018-01-18 13:15:27 +01:00
Joel Sherrill
ac0e020845
leon3: Simplify bsp_specs
...
Updates #3520 .
2018-01-18 07:31:29 +01:00
Joel Sherrill
85b59a57e8
leon2: Simplify bsp_specs
...
Updates #3520 .
2018-01-18 07:31:29 +01:00
Joel Sherrill
ca188aa6ff
sparc/erc32: Simplify bsp_specs
...
Updates #3520 .
2018-01-18 07:31:29 +01:00
Joel Sherrill
9d68284828
qemuppc: Simplify bsp_specs
...
Updates #3520 .
2018-01-18 07:31:29 +01:00
Sebastian Huber
47cc206822
bsps/powerpc: Move BSP specific file to BSP
...
Update #3254 .
2018-01-16 10:43:34 +01:00
Chris Johns
e806b73135
bsps/arm: Add header guard, fix defines
2018-01-15 07:22:30 +01:00
Sebastian Huber
c883bc9cb5
bsps/m68k: Fix CACR register defines
2018-01-15 07:22:29 +01:00
Chris Johns
5b94266e66
bsps: Fix redefine warning
2018-01-15 07:22:29 +01:00
Sebastian Huber
3f5d4e959f
bsp/mvme167: Fix warnings
2018-01-15 07:22:29 +01:00
Sebastian Huber
0d08844af9
bsps: Add AM_CPPFLAGS to special case CPPFLAGS
...
This is necessary to pick up mandatory flags provided by the build
system.
Update #3254 .
2018-01-15 07:22:29 +01:00
Sebastian Huber
4b1243666b
libchip: Use public include path
...
Update #3254 .
2018-01-15 07:22:29 +01:00
Sebastian Huber
a67f44c66e
bsps/lm32: Do not include network headers in bsp.h
...
Update #3254 .
2018-01-15 07:22:28 +01:00
Sebastian Huber
0178f9dd63
bsp/gen5200: Fix linker command file
...
Updates #3520 .
2018-01-05 14:23:56 +01:00
Sebastian Huber
7cd389e843
bsps/m68k: Install shared <mvme16x_hw.h>
...
Update #3254 .
2018-01-04 11:54:38 +01:00
Chris Johns
a7b0da2ba3
bsps/mips: Fix AC_CONFIG_SRCDIR()
...
Update #3254 .
2018-01-04 11:54:38 +01:00
Chris Johns
816f999fec
bsps/i386: Fix AC_CONFIG_SRCDIR()
...
Update #3254 .
2018-01-04 11:54:38 +01:00
Chris Johns
8428b4033c
bsp/edb7312: Use public include path
...
Update #3254 .
2018-01-04 11:54:38 +01:00
Chris Johns
f4dc973729
bsps: Use public include path
...
Update #3254 .
2018-01-04 11:54:37 +01:00
Chris Johns
26ac19c606
bsps/powerpc: Use public include path
...
Update #3254 .
2018-01-04 11:54:37 +01:00
Chris Johns
731abf4afe
bsp/mvme3100: Use public include path
...
Update #3254 .
2018-01-04 11:54:37 +01:00
Chris Johns
3964329048
bsp/beatnik: Use public include path
...
Update #3254 .
2018-01-04 11:54:37 +01:00
Chris Johns
9dd2fdb970
bsps/bfin: Use public include path
...
Update #3254 .
2018-01-04 11:54:37 +01:00
Chris Johns
010bf863aa
bsps/powerpc: Use public include path
...
Update #3254 .
2018-01-04 11:54:37 +01:00
Chris Johns
e2cf289357
bsp/mcf548x: Use public include path
...
Update #3254 .
2018-01-04 11:54:36 +01:00
Chris Johns
230acc55a6
libchip: Use public include path
...
Update #3254 .
2018-01-04 11:54:36 +01:00
Chris Johns
caeaae2673
bsp/gen5200: Use public include path
...
Update #3254 .
2018-01-04 11:54:36 +01:00
Chris Johns
9c91520ad6
bsps/lm32: Use public include path
...
Update #3254 .
2018-01-04 11:54:36 +01:00
Chris Johns
1efd148be1
bsp/pc386: Use public include path
...
Update #3254 .
2018-01-04 11:54:36 +01:00
Chris Johns
3eed4f30e4
bsp/altera-cyclone-v: Use public include path
...
Update #3254 .
2018-01-04 11:54:36 +01:00
Chris Johns
6897cb1d7c
bsps: Add AM_CPPFLAGS to special case CPPFLAGS
...
This is necessary to pick up mandatory flags provided by the build
system.
Update #3254 .
2018-01-04 11:54:35 +01:00
Sebastian Huber
f636e91a5d
bsp/pc386: Do not install console_private.h
...
The name suggests that this is a private implementation header file.
Update #3254 .
2018-01-04 11:54:30 +01:00
Sebastian Huber
6494f7d0b2
bsps/powerpc: Remove unused RTEMS_CPU_MODEL
2018-01-03 09:17:28 +01:00
Sebastian Huber
375e923d24
bsps/powerpc: Rename BSP specific linkcmds.base
...
Avoid name conflicts with shared linkcmds.base.
Update #3254 .
2018-01-03 09:10:00 +01:00
Sebastian Huber
fb01816bd2
bsps/powerpc: Move shared irq.h
...
This header file is only used by motorola_powerpc, so not shared.
Update #3254 .
Update #3268 .
2018-01-03 07:40:00 +01:00
Sebastian Huber
569fd5097c
sparc: Remove BSP specifics from <pci/irq.h>
...
Update #3254 .
Update #3260 .
Update #3269 .
2018-01-02 14:49:56 +01:00
Sebastian Huber
7190005abb
sparc: Move <libcpu/byteorder.h>
...
Update #3254 .
Update #3260 .
2018-01-02 14:49:56 +01:00