[PATCH] scripts/ext-toolchain.sh: modify ar/ranlib scripts

2021-01-04 Thread Ye Holmes
Modify external toolchain scripts `PREFIX-ar and `PREFIX-ranlib to handle object files compiled with LTO enabled; and simplify external toolchain scripts `PREFIX-gcc-ar and `PREFIX-gcc-ranlib to avoid failing to create static library archives. Signed-off-by: Ye Holmes --- Using external prebuilt

[PATCH] scripts/ext-toolchain.sh: modify ar/ranlib scripts

2021-01-01 Thread yeholmes
From: Ye Holmes The external toolchain scripts generated for ar/gcc-ar/ranlib/gcc-ranlib do not work well for latest prebuilt GNU toolchain downloaded from ARM: 1. aarch64-none-linux-gnu-ar and aarch64-none-linux-gnu-ranlib cannot generate correct static libraries for a number of packages with Li