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/crx | |
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/crx')
-rw-r--r-- | libgloss/crx/Makefile.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libgloss/crx/Makefile.in b/libgloss/crx/Makefile.in index a57759d43..1ac308697 100644 --- a/libgloss/crx/Makefile.in +++ b/libgloss/crx/Makefile.in @@ -30,6 +30,8 @@ MULTISUBDIR = SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ @@ -127,11 +129,13 @@ distclean maintainer-clean realclean: clean install: ${CRT_INSTALL} ${SIM_INSTALL} ${H_INSTALL} install-crt: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} set -e; for x in ${CRT} ; do\ ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \ done install-sim: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} for x in ${SIM_BSP} ; do\ ${INSTALL_PROGRAM} $${x} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \ done @@ -140,6 +144,7 @@ install-sim: done install-hndl: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} for x in ${H_BSP}; do\ ${INSTALL_PROGRAM} $${x} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \ done |