From: Thomas Petazzoni Date: Tue, 29 Dec 2020 20:55:21 +0000 (+0100) Subject: support/scripts/gen-bootlin-toolchains: do not assume RPC for glibc toolchains X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8cba5463deb263e1581895a58fef089e8ec02380;p=buildroot.git support/scripts/gen-bootlin-toolchains: do not assume RPC for glibc toolchains The logic in gen-bootlin-toolchains was assuming all glibc toolchains have RPC support, which is no longer true since glibc 2.32 has dropped RPC support. It turns out that gen-bootlin-toolchains already had some proper logic that selects BR2_TOOLCHAIN_HAS_NATIVE_RPC depending on the presence of BR2_TOOLCHAIN_EXTERNAL_INET_RPC in the toolchain fragment. As such toolchain fragments have been fixed in https://toolchains.bootlin.com, we can now rely on this to properly decide if the toolchain has RPC support or not. Signed-off-by: Thomas Petazzoni --- diff --git a/support/scripts/gen-bootlin-toolchains b/support/scripts/gen-bootlin-toolchains index fce75c51c2..fc9d57f5a4 100755 --- a/support/scripts/gen-bootlin-toolchains +++ b/support/scripts/gen-bootlin-toolchains @@ -263,8 +263,6 @@ class Toolchain: # glibc doesn't support static only configuration depends.append("!BR2_STATIC_LIBS") selects.append("BR2_TOOLCHAIN_EXTERNAL_GLIBC") - # all glibc toolchains have RPC support - selects.append("BR2_TOOLCHAIN_HAS_NATIVE_RPC") elif frag.startswith("BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL"): # musl needs mmu support depends.append("BR2_USE_MMU")