Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-01-29 09:33:44 +0300
committerMike Frysinger <vapier@gentoo.org>2022-01-29 09:33:49 +0300
commit502cf4b7b5b79b83e8f41b4074212f9e27753f0b (patch)
tree747ad5d35773354d962c31b5839316382605a545 /libgloss/cris
parent580817ec0132265e6dfd0bb19b5deaf6b5866a35 (diff)
libgloss: fix more missing dir with parallel install
Depending on the processing order of rules when installing in parallel, these install rules might be processed before some other rule happens to create the respective dirs. Make sure each one creates the needed dirs before installing into them.
Diffstat (limited to 'libgloss/cris')
-rw-r--r--libgloss/cris/Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/libgloss/cris/Makefile.in b/libgloss/cris/Makefile.in
index 838ddb60f..e254ce548 100644
--- a/libgloss/cris/Makefile.in
+++ b/libgloss/cris/Makefile.in
@@ -30,6 +30,8 @@ MULTISUBDIR =
SHELL = /bin/sh
+mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
+
CC = @CC@
AS = @AS@
@@ -203,6 +205,7 @@ install: ${SIM_INSTALL} ${BSP_INSTALL} ${LIN_INSTALL}
# Note that bsp and elinux objects are exclusive: do not overlap
# installed files.
install-bsp:
+ ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
case "${MULTISUBDIR}" in \
*/elinux) ;; \
*) set -e; \
@@ -212,12 +215,14 @@ install-bsp:
esac
install-sim:
+ ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
set -e; \
for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do \
${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
done
install-lin:
+ ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
case "${MULTISUBDIR}" in \
*/elinux) \
${INSTALL_DATA} ${LIN_CRT0} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/crt0.o; \