aboutsummaryrefslogtreecommitdiff
path: root/libgloss/m32c
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/m32c
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/m32c')
-rw-r--r--libgloss/m32c/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgloss/m32c/Makefile.in b/libgloss/m32c/Makefile.in
index cc6777c..cb52072 100644
--- a/libgloss/m32c/Makefile.in
+++ b/libgloss/m32c/Makefile.in
@@ -41,6 +41,8 @@ INSTALL_DATA = @INSTALL_DATA@
SHELL = /bin/sh
+mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
+
CC = @CC@
AS = @AS@
@@ -175,12 +177,14 @@ utime.o : $(SDEPS)
write.o : $(SDEPS)
install: $(CRT) $(SIM_BSP) $(M32C_BSP) $(SCRIPTS)
+ ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
for c in $(CRT) $(SIM_BSP) $(M32C_BSP); do \
$(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$c ;\
done
for c in $(SCRIPTS); do \
$(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$c ;\
done
+ ${mkinstalldirs} ${DESTDIR}${tooldir}/include
for c in $(HEADERS); do \
$(INSTALL_DATA) ${srcdir}/$$c \
$(DESTDIR)$(tooldir)/include/$$c ;\