aboutsummaryrefslogtreecommitdiff
path: root/libgloss/nios2
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-01-29 01:33:44 -0500
committerMike Frysinger <vapier@gentoo.org>2022-01-29 01:33:49 -0500
commit502cf4b7b5b79b83e8f41b4074212f9e27753f0b (patch)
tree747ad5d35773354d962c31b5839316382605a545 /libgloss/nios2
parent580817ec0132265e6dfd0bb19b5deaf6b5866a35 (diff)
downloadnewlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b.zip
newlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b.tar.gz
newlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b.tar.bz2
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/nios2')
-rw-r--r--libgloss/nios2/Makefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgloss/nios2/Makefile.in b/libgloss/nios2/Makefile.in
index fe1ea6a..cbe1c55 100644
--- a/libgloss/nios2/Makefile.in
+++ b/libgloss/nios2/Makefile.in
@@ -43,6 +43,8 @@ INSTALL_DATA = @INSTALL_DATA@
SHELL = /bin/sh
+mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
+
CC = @CC@
AS = @AS@
@@ -92,6 +94,7 @@ $(HOSTED_BSP): crt0.o io-nios2.o $(HOSTED_OBJS) $(OTHER_OBJS)
.PHONY: install info dvi doc install-info clean-info
install::
+ ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
$(INSTALL_DATA) $(HOSTED_BSP) \
$(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
for x in ${BSP_SCRIPTS}; do\