Hi Sebastian, This patch supposed to process headers that located in sys subfolders (e.g. sys/xtensa/config/) Sorry for inconvenient. I will give a fix ASAP ________________________________ From: Sebastian Huber Sent: Monday, September 11, 2023 4:07 PM To: Alexey Lapshin ; newlib@sourceware.org Cc: Alexey Gerenkov ; jcmvbkbc@gmail.com ; Ivan Grokhotkov Subject: Re: [PATCH, RFC 0/8] add xtensa port [External: This email originated outside Espressif] Hello Alexey, this change commit 3550d74823bfc17ca5a1a687350821421b0d74e1 Author: Alexey Lapshin Date: Thu Aug 10 14:13:11 2023 -0400 Add wildcard support to recurse into sys include directories breaks the build at least for RTEMS. For example, the newlib/libc/sys/rtems/include/sys/cpuset.h should be installed in: $(prefix)/$(target)/include/sys/cpuset.h However, with this change it is installed in: $(prefix)/$(target)/sys/cpuset.h Thus, the compiler no longer finds this header. I am not sure what the patch is supposed to do and how it can be fixed. -- 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/