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

Mike Frysinger <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.