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/csky
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/csky')
-rw-r--r--libgloss/csky/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgloss/csky/Makefile.in b/libgloss/csky/Makefile.in
index d3f6ce5e3..b0af7d653 100644
--- a/libgloss/csky/Makefile.in
+++ b/libgloss/csky/Makefile.in
@@ -44,6 +44,8 @@ INSTALL_DATA = @INSTALL_DATA@
SHELL = /bin/sh
+mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
+
CC = @CC@
AS = @AS@
@@ -100,12 +102,14 @@ crt0.o: $(CRT0)
.PHONY: install info dvi doc install-info clean-info
install:: $(DO:%=install_%) crt0.o
+ ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
$(INSTALL_PROGRAM) crt0.o $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(crt0.o)
$(DO:%=install_%): install_hosted
.PHONY:install_hosted
install_hosted::
+ ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
$(INSTALL_PROGRAM) $(HOSTED_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(HOSTED_BSP)
# target specific makefile fragment comes in here.