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/aarch64
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/aarch64')
-rw-r--r--libgloss/aarch64/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/libgloss/aarch64/Makefile.in b/libgloss/aarch64/Makefile.in
index b8c2ca43c..82a0e3717 100644
--- a/libgloss/aarch64/Makefile.in
+++ b/libgloss/aarch64/Makefile.in
@@ -60,6 +60,8 @@ MULTI_DEFAULT_FLAGS = -DSEMIHOST_V2
SHELL = /bin/sh
+mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
+
CC = @CC@
AS = @AS@
@@ -196,9 +198,11 @@ install: ${CRT0_INSTALL} ${RDIMON_INSTALL}
$(MAKE) $(AM_MAKEFLAGS) install-recursive
install-crt0:
+ ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
${INSTALL_DATA} ${CRT0} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x
install-rdimon:
+ ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
set -e; for x in ${RDIMON_CRT0} ${RDIMON_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
set -e; for x in ${RDIMON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
@@ -217,4 +221,4 @@ Makefile: Makefile.in config.status @host_makefile_frag_path@
config.status: configure
$(SHELL) config.status --recheck
-include $(srcdir)/../multi-build.in \ No newline at end of file
+include $(srcdir)/../multi-build.in