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/nios2 | |
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/nios2')
-rw-r--r-- | libgloss/nios2/Makefile.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgloss/nios2/Makefile.in b/libgloss/nios2/Makefile.in index fe1ea6ada..cbe1c5552 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\ |