From 502cf4b7b5b79b83e8f41b4074212f9e27753f0b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 29 Jan 2022 01:33:44 -0500 Subject: 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. --- libgloss/rx/Makefile.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libgloss/rx') diff --git a/libgloss/rx/Makefile.in b/libgloss/rx/Makefile.in index f19e08676..d730451bc 100644 --- a/libgloss/rx/Makefile.in +++ b/libgloss/rx/Makefile.in @@ -41,6 +41,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -138,6 +140,7 @@ utime.o : $(SDEPS) write.o : $(SDEPS) install: $(CRT) $(SIM_BSP) $(SCRIPTS) + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} for c in $(CRT) $(SIM_BSP); do \ $(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$c ;\ done -- cgit v1.2.3