package/glibc: hide "glibc utils" if glibc is not selected
authorArthur Courtel <arthur.courtel@smile.fr>
Thu, 19 Dec 2019 11:10:24 +0000 (12:10 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Thu, 19 Dec 2019 17:16:30 +0000 (18:16 +0100)
BR2_PACKAGE_GLIBC_UTILS config must not exist if we use other libc than glibc

Signed-off-by: Arthur Courtel <arthur.courtel@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/glibc/Config.in

index 7b2f24694761c57cbcd8240fa2275945fe48f1ec..cc178468b55ea3795ebd68cb054112e8f598f17a 100644 (file)
@@ -7,10 +7,11 @@ config BR2_PACKAGE_GLIBC
        select BR2_TOOLCHAIN_HAS_SSP if BR2_PACKAGE_HOST_BINUTILS_SUPPORTS_CFI
        help
          https://www.gnu.org/software/libc/
-endif
 
 config BR2_PACKAGE_GLIBC_UTILS
        bool "Install glibc utilities"
        help
          Enabling this option will compile and install the getconf,
          ldconfig, ldd and locale glibc utilities for the target.
+
+endif # BR2_TOOLCHAIN_BUILDROOT_GLIBC