newlib: fix sys headers installation path

Message ID d87e2fb91d740ee424a98ecc2ece3262f93153d0.camel@espressif.com
State New
Headers
Series newlib: fix sys headers installation path |

Commit Message

Alexey Lapshin Sept. 11, 2023, 12:44 p.m. UTC
  ---
 newlib/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.34.1
  

Comments

Alexey Lapshin Sept. 11, 2023, 12:45 p.m. UTC | #1
Hi Sebastian,

Could you please confirm that issue fixed?

Regards,
Alexey
  

Patch

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 ; \