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/moxie | |
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/moxie')
-rw-r--r-- | libgloss/moxie/Makefile.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libgloss/moxie/Makefile.in b/libgloss/moxie/Makefile.in index 9aba6b4ce..bb074ce12 100644 --- a/libgloss/moxie/Makefile.in +++ b/libgloss/moxie/Makefile.in @@ -43,6 +43,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -129,6 +131,7 @@ stat.o: $(srcdir)/stat.c qemu-write.o: $(srcdir)/qemu-write.c install: ${CRT0_INSTALL} $($(CPU)_INSTALL) + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} $(INSTALL_DATA) $(SIM_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(SIM_BSP) $(INSTALL_DATA) $(QEMU_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(QEMU_BSP) for x in ${LD_SCRIPTS}; do \ @@ -136,6 +139,7 @@ install: ${CRT0_INSTALL} $($(CPU)_INSTALL) done; install-crt0: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} ${INSTALL_DATA} ${CRT0} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x clean mostlyclean: |