[PATCH v2] newlib: fix sys headers installation path
Sebastian Huber
sebastian.huber@embedded-brains.de
Mon Sep 11 13:09:47 GMT 2023
On 11.09.23 14:53, Alexey Lapshin wrote:
> ---
> newlib/Makefile.am | 2 +-
> newlib/Makefile.in | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/newlib/Makefile.am b/newlib/Makefile.am
> index e29607ccd..47f0be288 100644
> --- a/newlib/Makefile.am
> +++ b/newlib/Makefile.am
> @@ -334,7 +334,7 @@ install-data-local: install-toollibLIBRARIES install-multi $(INSTALL_DATA_LOCAL)
> else true; fi ; \
> done ; \
> for i in $(call rwildcard,$(srcdir)/libc/sys/$(sys_dir)/include/,*.h); do \
> - f=`echo $$i | sed s:^$(srcdir)/libc/sys/$(sys_dir)/include/::`; \
> + f=`echo $$i | sed s:^$(srcdir)/libc/sys/$(sys_dir)/::`; \
> $(MKDIR_P) $(DESTDIR)$(tooldir)/`dirname $$f`; \
> $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/`dirname $$f`; \
> done ; \
> diff --git a/newlib/Makefile.in b/newlib/Makefile.in
> index c3052acb9..5dc9dcc8d 100644
> --- a/newlib/Makefile.in
> +++ b/newlib/Makefile.in
> @@ -50500,7 +50500,7 @@ install-data-local: install-toollibLIBRARIES install-multi $(INSTALL_DATA_LOCAL)
> else true; fi ; \
> done ; \
> for i in $(call rwildcard,$(srcdir)/libc/sys/$(sys_dir)/include/,*.h); do \
> - f=`echo $$i | sed s:^$(srcdir)/libc/sys/$(sys_dir)/include/::`; \
> + f=`echo $$i | sed s:^$(srcdir)/libc/sys/$(sys_dir)/::`; \
> $(MKDIR_P) $(DESTDIR)$(tooldir)/`dirname $$f`; \
> $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/`dirname $$f`; \
> done ; \
This patch fixes the header install problem for RTEMS. Why did the
xtensa port work without this fix? This seems to be a generic issue.
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
More information about the Newlib
mailing list