From: Andreas Kölbl <[email protected]>
If this is omitted, libtests, where this symbol gets overridden, fail to build.
Affected tests:
sptimecounter01
spinternalerror01
---
c/src/lib/libbsp/shared/bootcard.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/c/src/lib/libbsp/shared/bootcard.c
b/c/src/lib/libbsp/shared/bootcard.c
index 3e243d2569..6e5df99f1e 100644
--- a/c/src/lib/libbsp/shared/bootcard.c
+++ b/c/src/lib/libbsp/shared/bootcard.c
@@ -61,7 +61,8 @@ RTEMS_SYSINIT_ITEM(
* the system while maximizing shared code and keeping BSP code in C
* as much as possible.
*/
-void boot_card(
+
+__attribute__((weak)) void boot_card(
const char *cmdline
)
{
--
2.13.3
_______________________________________________
devel mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/devel