public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Corinna Vinschen <vinschen@redhat.com>
To: newlib@sourceware.org
Subject: Re: [PATCH] newlib: add missing mkdir to header install
Date: Wed, 16 Feb 2022 09:50:52 +0100	[thread overview]
Message-ID: <Ygy67PO34NApVJ+R@calimero.vinschen.de> (raw)
In-Reply-To: <20220216020753.21431-1-vapier@gentoo.org>

On Feb 15 21:07, Mike Frysinger wrote:
> 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

GTG

Thanks,
Corinna


      reply	other threads:[~2022-02-16  8:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-16  2:07 Mike Frysinger
2022-02-16  8:50 ` Corinna Vinschen [this message]

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=Ygy67PO34NApVJ+R@calimero.vinschen.de \
    --to=vinschen@redhat.com \
    --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).