[newlib-cygwin] libgloss: bfin: fix subdir install for sim files

Michael Frysinger vapier@sourceware.org
Mon Jan 24 03:06:43 GMT 2022


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

commit dfa088ab660c80678825ba89f88f9338cfaed3f7
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Sun Jan 23 21:08:07 2022 -0500

    libgloss: bfin: fix subdir install for sim files
    
    When building in parallel, make sure the subdir for the sim files
    exist before trying to install into them.

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

diff --git a/libgloss/bfin/Makefile.in b/libgloss/bfin/Makefile.in
index b206a17ae..07ce0d0f8 100644
--- a/libgloss/bfin/Makefile.in
+++ b/libgloss/bfin/Makefile.in
@@ -175,6 +175,7 @@ distclean maintainer-clean realclean: clean
 install: ${SIM_INSTALL} ${BOARD_INSTALL}
 
 install-sim:
+	${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
 	for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do \
 	 ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x || exit $$?; \
 	done


More information about the Newlib-cvs mailing list