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/or1k | |
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/or1k')
-rw-r--r-- | libgloss/or1k/Makefile.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libgloss/or1k/Makefile.in b/libgloss/or1k/Makefile.in index f7d138ca7..9d8d16991 100644 --- a/libgloss/or1k/Makefile.in +++ b/libgloss/or1k/Makefile.in @@ -42,6 +42,8 @@ INSTALL_DATA = @INSTALL_DATA@ SHELL = /bin/sh +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs + CC = @CC@ AS = @AS@ AR = @AR@ @@ -126,8 +128,8 @@ distclean maintainer-clean realclean: clean .PHONY: install info install-info clean-info install: + ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} $(DESTDIR)$(tooldir)/include @for outputs in ${OUTPUTS}; do\ - mkdir -p $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \ $(INSTALL_DATA) $${outputs} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \ done $(INSTALL_DATA) ${srcdir}/include/or1k-support.h $(DESTDIR)$(tooldir)/include/ |