From: Mike Frysinger <vapier@gentoo.org>
To: newlib@sourceware.org
Subject: [PATCH] newlib: add missing mkdir to header install
Date: Tue, 15 Feb 2022 21:07:53 -0500 [thread overview]
Message-ID: <20220216020753.21431-1-vapier@gentoo.org> (raw)
Make sure these subdirs exist before trying to install headers into them.
---
newlib/Makefile.am | 1 +
newlib/Makefile.in | 1 +
2 files changed, 2 insertions(+)
diff --git a/newlib/Makefile.am b/newlib/Makefile.am
index 67fb1e8ba074..6d3b60b330b0 100644
--- a/newlib/Makefile.am
+++ b/newlib/Makefile.am
@@ -335,6 +335,7 @@ install-data-local: install-toollibLIBRARIES install-multi
done ; \
for i in $(srcdir)/libc/sys/$(sys_dir)/include/*; do \
if [ -d $$i ]; then \
+ $(MKDIR_P) $(DESTDIR)$(tooldir)/include/`basename $$i`; \
for j in $$i/*.h; do \
$(INSTALL_DATA) $$j $(DESTDIR)$(tooldir)/include/`basename $$i`/`basename $$j`; \
done ; \
diff --git a/newlib/Makefile.in b/newlib/Makefile.in
index 969027f7cf00..5a83f8608451 100644
--- a/newlib/Makefile.in
+++ b/newlib/Makefile.in
@@ -1624,6 +1624,7 @@ install-data-local: install-toollibLIBRARIES install-multi
done ; \
for i in $(srcdir)/libc/sys/$(sys_dir)/include/*; do \
if [ -d $$i ]; then \
+ $(MKDIR_P) $(DESTDIR)$(tooldir)/include/`basename $$i`; \
for j in $$i/*.h; do \
$(INSTALL_DATA) $$j $(DESTDIR)$(tooldir)/include/`basename $$i`/`basename $$j`; \
done ; \
--
2.34.1
next reply other threads:[~2022-02-16 2:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-16 2:07 Mike Frysinger [this message]
2022-02-16 8:50 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220216020753.21431-1-vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=newlib@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).