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/or1k | |
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/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 f7d138c..9d8d169 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/ |