[RTEMS Project] #3268: PowerPC BSP include naming mess.
RTEMS trac
trac at rtems.org
Mon Jan 1 00:01:11 UTC 2018
#3268: PowerPC BSP include naming mess.
-------------------------+--------------------
Reporter: Chris Johns | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone: 5.1
Component: admin | Version: 5
Severity: normal | Keywords:
-------------------------+--------------------
The PowerPC BSP family headers need some refactoring for the RTEMS 5
release. The BSP family relies on the preinstall process to get suitable
headers installed to work and removing `preinstall` exposes this. The
specific issue appears with `irq.h` when building the `no-preinstall`
branch. There is a PowerPC BSP family header and a number of BSPs also
have an `irq.h` which overrides families header. The code has `#include
<bsp/irq.h>` and the header used depends on the include order on the GCC
command line. This is fragile for any user. These headers needs to be
moved to BSP specific paths, for example `#include <mvme3100/irq.h>`.
--
Ticket URL: <http://devel.rtems.org/ticket/3268>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list