diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-01-29 09:33:44 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-29 09:33:49 +0300 |
commit | 502cf4b7b5b79b83e8f41b4074212f9e27753f0b (patch) | |
tree | 747ad5d35773354d962c31b5839316382605a545 /libgloss/m68hc11 | |
parent | 580817ec0132265e6dfd0bb19b5deaf6b5866a35 (diff) |
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.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libgloss/m68hc11/Makefile.in b/libgloss/m68hc11/Makefile.in index f2fc7ae3b..0613c95b0 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 \ |