[newlib-cygwin] libgloss: bfin: fix missing dir with parallel install

Michael Frysinger vapier@sourceware.org
Fri Jan 28 10:58:08 GMT 2022


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=c6c414fcb36082d4c2b7180406e85e3e6c1780ac

commit c6c414fcb36082d4c2b7180406e85e3e6c1780ac
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Jan 28 05:56:36 2022 -0500

    libgloss: bfin: fix missing dir with parallel install
    
    Depending on the processing order of rules when installing in parallel,
    install-board might run first and the target dirs don't yet exist.

Diff:
---
 libgloss/bfin/Makefile.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libgloss/bfin/Makefile.in b/libgloss/bfin/Makefile.in
index 305ce310d..f3d4cb624 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


More information about the Newlib-cvs mailing list