From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 08C103858D37 for ; Wed, 16 Feb 2022 08:50:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 08C103858D37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1645001456; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=vFiN5D3hIZYI4uVkNbL4N1JW6OLy0CqRQojsLrkgHgw=; b=ZnMH1Ci8brEa8tW6v3k4Y5CKrdMhZtaKESOR8CYnI58cDojOupZV68XHtKTGCotyfWO1JS uJKnjf5MYq6xtd4JuqYjjraMFhI4qrfojAE3CPAhNfsQzY5fxhBeSGOKceZh85y66jbmZL +GxbSipna3SREsLupgv5TdMb/iORv4c= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-351-VRMLmq9FNHa5mNkV-0Cr_w-1; Wed, 16 Feb 2022 03:50:55 -0500 X-MC-Unique: VRMLmq9FNHa5mNkV-0Cr_w-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 89C0C814243 for ; Wed, 16 Feb 2022 08:50:54 +0000 (UTC) Received: from calimero.vinschen.de (unknown [10.36.112.2]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 588442379B for ; Wed, 16 Feb 2022 08:50:54 +0000 (UTC) Received: by calimero.vinschen.de (Postfix, from userid 500) id E7234A807A1; Wed, 16 Feb 2022 09:50:52 +0100 (CET) Date: Wed, 16 Feb 2022 09:50:52 +0100 From: Corinna Vinschen To: newlib@sourceware.org Subject: Re: [PATCH] newlib: add missing mkdir to header install Message-ID: Reply-To: newlib@sourceware.org Mail-Followup-To: newlib@sourceware.org References: <20220216020753.21431-1-vapier@gentoo.org> MIME-Version: 1.0 In-Reply-To: <20220216020753.21431-1-vapier@gentoo.org> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=vinschen@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Feb 2022 08:50:58 -0000 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