diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-01-28 06:21:41 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-28 06:21:41 -0500 |
commit | 9d3352416413817b37b13277cb44308651c42121 (patch) | |
tree | 6609bac36b4617483d9e221d88bc72b968a36201 /libgloss/aarch64 | |
parent | c6c414fcb36082d4c2b7180406e85e3e6c1780ac (diff) | |
download | newlib-9d3352416413817b37b13277cb44308651c42121.zip newlib-9d3352416413817b37b13277cb44308651c42121.tar.gz newlib-9d3352416413817b37b13277cb44308651c42121.tar.bz2 |
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.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libgloss/aarch64/Makefile.in b/libgloss/aarch64/Makefile.in index b8c2ca4..82a0e37 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 |