aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-01-23 21:08:07 -0500
committerMike Frysinger <vapier@gentoo.org>2022-01-23 21:08:07 -0500
commitdfa088ab660c80678825ba89f88f9338cfaed3f7 (patch)
treeabf281179cea78e9cd055c592437ccaa4f0af9d3
parentdcb25665be227fb5a05497b7178a3d5df88050ec (diff)
downloadnewlib-dfa088ab660c80678825ba89f88f9338cfaed3f7.zip
newlib-dfa088ab660c80678825ba89f88f9338cfaed3f7.tar.gz
newlib-dfa088ab660c80678825ba89f88f9338cfaed3f7.tar.bz2
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.
-rw-r--r--libgloss/bfin/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgloss/bfin/Makefile.in b/libgloss/bfin/Makefile.in
index b206a17..07ce0d0 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