aboutsummaryrefslogtreecommitdiff
path: root/libgloss/m68hc11
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/m68hc11
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/m68hc11')
-rw-r--r--libgloss/m68hc11/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgloss/m68hc11/Makefile.in b/libgloss/m68hc11/Makefile.in
index f2fc7ae3..0613c95 100644
--- a/libgloss/m68hc11/Makefile.in
+++ b/libgloss/m68hc11/Makefile.in
@@ -46,6 +46,8 @@ INSTALL_DATA = @INSTALL_DATA@
SHELL = /bin/sh
+mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
+
CC = @CC@
AS = @AS@
@@ -141,6 +143,7 @@ distclean maintainer-clean realclean: clean
.PHONY: install info install-info clean-info
install: install-scripts
+ ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
$(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
@for bsp in ${BSP}; do\
$(INSTALL_PROGRAM) $${bsp} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
@@ -148,6 +151,7 @@ install: install-scripts
# Install the linker script in the correct place.
install-scripts:
+ ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
if [ -f ${objroot}/../binutils/objdump ] ; then \
objdump="${objroot}/../binutils/objdump"; \
else \