[PATCH] newlib: powerpc: switch to Automake conditionals

Corinna Vinschen vinschen@redhat.com
Thu Feb 17 14:06:16 GMT 2022


On Feb 16 23:43, Mike Frysinger wrote:
> Using xxx_LIBADD, xxx_DEPENDENCIES, and EXTRA_xxx_SOURCES is one way of
> conditionally including files into a target.  But it's meant more for the
> cases where the variables added to LIBADD & DEPENDENCIES are constructed
> via substitution (e.g. AC_SUBST) or other dynamic methods.  With Automake
> conditionals, then the much simpler form is to conditionally append to
> the xxx_SOURCES variable and let Automake sort everything out.
> ---
>  newlib/libc/machine/powerpc/Makefile.am | 62 ++++++++---------
>  newlib/libc/machine/powerpc/Makefile.in | 91 +++++++++++++++----------
>  2 files changed, 81 insertions(+), 72 deletions(-)

ACK,
Corinna



More information about the Newlib mailing list