[PATCH] bsps/powerpc: Include <bspopts.h> to fix the build
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri May 25 12:35:40 UTC 2018
This is a hack. The cpukit <rtems/asm.h> header file depends on defines
provided by the BSP.
Update #3425.
---
bsps/powerpc/shared/start/bsp-start-zero.S | 2 +-
bsps/powerpc/ss555/start/irq_asm.S | 1 +
bsps/powerpc/ss555/start/vectors.S | 1 +
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/bsps/powerpc/shared/start/bsp-start-zero.S b/bsps/powerpc/shared/start/bsp-start-zero.S
index e87efff8c3..2df0241d71 100644
--- a/bsps/powerpc/shared/start/bsp-start-zero.S
+++ b/bsps/powerpc/shared/start/bsp-start-zero.S
@@ -20,9 +20,9 @@
* http://www.rtems.org/license/LICENSE.
*/
+#include <bspopts.h>
#include <rtems/asm.h>
#include <rtems/powerpc/powerpc.h>
-#include <bspopts.h>
.globl bsp_start_zero
.globl bsp_start_zero_begin
diff --git a/bsps/powerpc/ss555/start/irq_asm.S b/bsps/powerpc/ss555/start/irq_asm.S
index 52911c48e3..a78d7c35a5 100644
--- a/bsps/powerpc/ss555/start/irq_asm.S
+++ b/bsps/powerpc/ss555/start/irq_asm.S
@@ -22,6 +22,7 @@
* SPRG0 - RTEMS relies on that variable.
*/
+#include <bspopts.h>
#include <rtems/asm.h>
#include <rtems/score/cpu.h>
#include <rtems/score/percpu.h>
diff --git a/bsps/powerpc/ss555/start/vectors.S b/bsps/powerpc/ss555/start/vectors.S
index 35d2f23a30..0722b92892 100644
--- a/bsps/powerpc/ss555/start/vectors.S
+++ b/bsps/powerpc/ss555/start/vectors.S
@@ -13,6 +13,7 @@
* (c) 1999, Eric Valette valette at crf.canon.fr
*/
+#include <bspopts.h>
#include <rtems/asm.h>
#include <rtems/score/cpu.h>
#include <libcpu/vectors.h>
--
2.13.6
More information about the devel
mailing list