public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
From: Michael Frysinger <vapier@sourceware.org>
To: newlib-cvs@sourceware.org
Subject: [newlib-cygwin] newlib: rtems: drop redundant header install
Date: Thu, 17 Feb 2022 01:04:40 +0000 (GMT)	[thread overview]
Message-ID: <20220217010440.E9C6A3858032@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=2a83e65fc2f42f9354081849ba4f71e2aaf10bf4

commit 2a83e65fc2f42f9354081849ba4f71e2aaf10bf4
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Feb 15 21:05:25 2022 -0500

    newlib: rtems: drop redundant header install
    
    The top-level newlib dir already takes care of recursing into the
    sys/xxx/include/ subdirs and installing any headers found, so the
    rtems subdir doesn't need to do this itself.

Diff:
---
 newlib/libc/sys/rtems/Makefile.am | 18 ------------------
 newlib/libc/sys/rtems/Makefile.in | 36 +++++++++---------------------------
 2 files changed, 9 insertions(+), 45 deletions(-)

diff --git a/newlib/libc/sys/rtems/Makefile.am b/newlib/libc/sys/rtems/Makefile.am
index 9e6977f15..58c2834cc 100644
--- a/newlib/libc/sys/rtems/Makefile.am
+++ b/newlib/libc/sys/rtems/Makefile.am
@@ -10,21 +10,3 @@ lib_a_SOURCES = dummysys.c cpusetalloc.c cpusetfree.c
 lib_a_CFLAGS = $(AM_CFLAGS)
 
 all-local: crt0.o
-
-install-data-local:
-	$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/arpa; \
-	for i in $(srcdir)/include/arpa/*.h; do \
-	  $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/arpa/`basename $$i`; \
-	done; \
-	$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/net; \
-	for i in $(srcdir)/include/net/*.h; do \
-	  $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/net/`basename $$i`; \
-	done; \
-	$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/netinet; \
-	for i in $(srcdir)/include/netinet/*.h; do \
-	  $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/netinet/`basename $$i`; \
-	done; \
-	$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/netinet6; \
-	for i in $(srcdir)/include/netinet6/*.h; do \
-	  $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/netinet6/`basename $$i`; \
-	done
diff --git a/newlib/libc/sys/rtems/Makefile.in b/newlib/libc/sys/rtems/Makefile.in
index 2d3ccbbbd..dc6c7502f 100644
--- a/newlib/libc/sys/rtems/Makefile.in
+++ b/newlib/libc/sys/rtems/Makefile.in
@@ -473,7 +473,7 @@ info: info-am
 
 info-am:
 
-install-data-am: install-data-local
+install-data-am:
 
 install-dvi: install-dvi-am
 
@@ -525,38 +525,20 @@ uninstall-am:
 	clean-generic clean-noinstLIBRARIES cscopelist-am ctags \
 	ctags-am distclean distclean-compile distclean-generic \
 	distclean-tags dvi dvi-am html html-am info info-am install \
-	install-am install-data install-data-am install-data-local \
-	install-dvi install-dvi-am install-exec install-exec-am \
-	install-html install-html-am install-info install-info-am \
-	install-man install-pdf install-pdf-am install-ps \
-	install-ps-am install-strip installcheck installcheck-am \
-	installdirs maintainer-clean maintainer-clean-generic \
-	mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
-	ps ps-am tags tags-am uninstall uninstall-am
+	install-am install-data install-data-am install-dvi \
+	install-dvi-am install-exec install-exec-am install-html \
+	install-html-am install-info install-info-am install-man \
+	install-pdf install-pdf-am install-ps install-ps-am \
+	install-strip installcheck installcheck-am installdirs \
+	maintainer-clean maintainer-clean-generic mostlyclean \
+	mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
+	tags tags-am uninstall uninstall-am
 
 .PRECIOUS: Makefile
 
 
 all-local: crt0.o
 
-install-data-local:
-	$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/arpa; \
-	for i in $(srcdir)/include/arpa/*.h; do \
-	  $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/arpa/`basename $$i`; \
-	done; \
-	$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/net; \
-	for i in $(srcdir)/include/net/*.h; do \
-	  $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/net/`basename $$i`; \
-	done; \
-	$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/netinet; \
-	for i in $(srcdir)/include/netinet/*.h; do \
-	  $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/netinet/`basename $$i`; \
-	done; \
-	$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/netinet6; \
-	for i in $(srcdir)/include/netinet6/*.h; do \
-	  $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/netinet6/`basename $$i`; \
-	done
-
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:


                 reply	other threads:[~2022-02-17  1:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20220217010440.E9C6A3858032@sourceware.org \
    --to=vapier@sourceware.org \
    --cc=newlib-cvs@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).