diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2011-01-13 01:24:06 +0300 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2011-01-13 01:24:06 +0300 |
commit | 0597fe0adc39d0d2c34f70cfc9bd47c35107ebe1 (patch) | |
tree | 85118fffda192e697c848e3a5edd5020fbca90c1 /newlib/Makefile.am | |
parent | 7c0be7cbdbc7e7e4e2c4ed845eb77d330da0ba4e (diff) |
2011-01-12 Jeff Johnston <jjohnstn@redhat.com>
* configure.host: Add noinclude variable to allow specification
of header files to remove from installation.
* acinclude.m4: Provide NO_INCLUDE_LIST variable based on
noinclude variable in configure.host.
* configure: Regenerated.
* Makefile.am: Remove all header files in NO_INCLUDE_LIST.
* Makefile.in: Regenerated.
Diffstat (limited to 'newlib/Makefile.am')
-rw-r--r-- | newlib/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/newlib/Makefile.am b/newlib/Makefile.am index d7205b66b..dca626073 100644 --- a/newlib/Makefile.am +++ b/newlib/Makefile.am @@ -330,6 +330,11 @@ endif $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \ else true; fi ; \ done ; \ + for i in $(NO_INCLUDE_LIST); do \ + if [ -f $(DESTDIR)$(tooldir)/include/$$i]; then \ + -rm $(DESTDIR)$(tooldir)/include/$$i; \ + else true; fi ; \ + done ; \ else true; fi # Force makedoc to be built before building info files. |