[PATCH] no_cpu/no_bsp: Fix path to bspgetworkarea.c in Makefile for libbsp.a

Amaan Cheval amaan.cheval at gmail.com
Fri Apr 6 07:55:15 UTC 2018


The file is now in ./c/src/lib/libbsp/shared/bspgetworkarea.c (note
the lack of the startup directory). This would result in errors such
as the following for anyone basing their BSP off of no_bsp:

make[3]: *** No rule to make target '../../shared/startup/bspgetworkarea.c',
needed by 'bspgetworkarea.o'.  Stop.
---
 c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am b/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am
index 339870f03b..c556327fb4 100644
--- a/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am
+++ b/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am
@@ -17,7 +17,7 @@ libbsp_a_SOURCES =
 # startup
 libbsp_a_SOURCES += ../../shared/bspclean.c \
     ../../shared/bsppredriverhook.c \
-    ../../shared/startup/bspgetworkarea.c \
+    ../../shared/bspgetworkarea.c \
     startup/bspstart.c ../../shared/bootcard.c ../../shared/sbrk.c \
     ../../shared/getentropy-cpucounter.c \
     startup/setvec.c ../../shared/gnatinstallhandler.c
-- 
2.13.0



More information about the devel mailing list