[PATCH] newlib: speed up targ-include setup & add error checking
Corinna Vinschen
vinschen@redhat.com
Mon Feb 28 10:40:44 GMT 2022
On Feb 25 23:10, Mike Frysinger wrote:
> The current targ-include setup runs `cp` and `basename` for every
> header file it installs, in serial. This can be a little noticeable
> on systems, so cleanup the logic to rely on cp's ability to copy
> multiple files to a single directory.
>
> We still need the for loop to check for empty directories with no
> headers (i.e. the glob doesn't match anything).
> ---
> newlib/Makefile.am | 84 +++++++++++------------------------------
> newlib/Makefile.in | 93 +++++++++++++---------------------------------
> 2 files changed, 47 insertions(+), 130 deletions(-)
LGTM. Please squash these two.
Thx,
Corinna
More information about the Newlib
mailing list