diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-01-29 01:33:44 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-29 01:33:49 -0500 |
commit | 502cf4b7b5b79b83e8f41b4074212f9e27753f0b (patch) | |
tree | 747ad5d35773354d962c31b5839316382605a545 /libgloss/m68k/Makefile.in | |
parent | 580817ec0132265e6dfd0bb19b5deaf6b5866a35 (diff) | |
download | newlib-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/m68k/Makefile.in')
-rw-r--r-- | libgloss/m68k/Makefile.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libgloss/m68k/Makefile.in b/libgloss/m68k/Makefile.in index f1ca1c4..b9452ba 100644 --- a/libgloss/m68k/Makefile.in +++ b/libgloss/m68k/Makefile.in @@ -45,6 +45,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -409,6 +411,7 @@ install:: $(DO:%=install_%) .PHONY:install_m68k install_m68k:: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} # install SIM stuff $(INSTALL_PROGRAM) $(SIM_CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(SIM_CRT0) $(INSTALL_PROGRAM) $(SIM_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(SIM_BSP) @@ -435,6 +438,7 @@ install_m68k:: .PHONY: install_cf install_cf:: install_io + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} # install CF stuff $(INSTALL_DATA) $(CF_CRT0S) $(CF_BSP) \ $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} @@ -447,6 +451,7 @@ endif .PHONY: install_fido install_fido:: install_io + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} $(INSTALL_DATA) $(FIDO_CRT0S) $(FIDO_BSP) \ $(DESTDIR)$(tooldir)/lib$(MULTISUBDIR) $(INSTALL_DATA) $(FIDO_SCRIPTS) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} @@ -459,6 +464,7 @@ endif .PHONY: install_io install_io:: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} # install IO stuff $(INSTALL_DATA) $(HOSTED_BSP) $(UNHOSTED_BSP) \ $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} |