From: Mike Frysinger Date: Mon, 24 Jan 2022 02:08:07 +0000 (-0500) Subject: libgloss: bfin: fix subdir install for sim files X-Git-Tag: cygwin-3.4.0~681 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=dfa088ab660c80678825ba89f88f9338cfaed3f7;p=newlib-cygwin.git 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 --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