[PATCH/committed] libgloss: bfin: fix missing dir with parallel install

Mike Frysinger vapier@gentoo.org
Fri Jan 28 10:58:04 GMT 2022


Depending on the processing order of rules when installing in parallel,
install-board might run first and the target dirs don't yet exist.
---
 libgloss/bfin/Makefile.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libgloss/bfin/Makefile.in b/libgloss/bfin/Makefile.in
index 305ce310dd19..f3d4cb62442c 100644
--- a/libgloss/bfin/Makefile.in
+++ b/libgloss/bfin/Makefile.in
@@ -180,6 +180,7 @@ install-sim:
 	done
 
 install-board:
+	${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
 	for x in ${BOARD_CRT0S} ${BOARD_BSP}; do \
 	 ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x || exit $$?; \
 	done
-- 
2.34.1



More information about the Newlib mailing list