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-28 14:21:41 +0300
committerMike Frysinger <vapier@gentoo.org>2022-01-28 14:21:41 +0300
commit9d3352416413817b37b13277cb44308651c42121 (patch)
tree6609bac36b4617483d9e221d88bc72b968a36201 /libgloss/sparc_leon
parentc6c414fcb36082d4c2b7180406e85e3e6c1780ac (diff)
libgloss: aarch64/sparc: fix missing dir with parallel install
Depending on the processing order of rules when installing in parallel, install-board might run first and the target dirs don't yet exist.
Diffstat (limited to 'libgloss/sparc_leon')
-rw-r--r--libgloss/sparc_leon/Makefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgloss/sparc_leon/Makefile.in b/libgloss/sparc_leon/Makefile.in
index c21a3e39f..5cc1e5491 100644
--- a/libgloss/sparc_leon/Makefile.in
+++ b/libgloss/sparc_leon/Makefile.in
@@ -32,6 +32,8 @@ INSTALL_DATA = @INSTALL_DATA@
SHELL = /bin/sh
+mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
+
CC = @CC@
AS = @AS@
@@ -103,6 +105,7 @@ $(LEONBARE_THREADS): $(LEONBARE_THREADS_OBJS)
${RANLIB} $@
install:
+ ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
$(INSTALL_DATA) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
$(INSTALL_DATA) $(LOCORESVT) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(LOCORESVT)
$(INSTALL_DATA) $(LOCOREMVT) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(LOCOREMVT)