public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* [PATCH/committed] libgloss: bfin: fix subdir install for sim files
@ 2022-01-24  3:34 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2022-01-24  3:34 UTC (permalink / raw)
  To: newlib

When building in parallel, make sure the subdir for the sim files
exist before trying to install into them.
---
 libgloss/bfin/Makefile.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libgloss/bfin/Makefile.in b/libgloss/bfin/Makefile.in
index b206a17ae3c4..07ce0d0f8e95 100644
--- a/libgloss/bfin/Makefile.in
+++ b/libgloss/bfin/Makefile.in
@@ -175,6 +175,7 @@ distclean maintainer-clean realclean: clean
 install: ${SIM_INSTALL} ${BOARD_INSTALL}
 
 install-sim:
+	${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
 	for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do \
 	 ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x || exit $$?; \
 	done
-- 
2.34.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-24  3:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-24  3:34 [PATCH/committed] libgloss: bfin: fix subdir install for sim files Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).