support/scripts/gen-bootlin-toolchains: do not assume RPC for glibc toolchains
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 29 Dec 2020 20:55:21 +0000 (21:55 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 29 Dec 2020 21:03:17 +0000 (22:03 +0100)
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 <thomas.petazzoni@bootlin.com>
support/scripts/gen-bootlin-toolchains

index fce75c51c28787a8a9ecdffa5d0059e13e951adc..fc9d57f5a4e0065e33f2467f6552e6ee814d78aa 100755 (executable)
@@ -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")