Browse Source

package/glibc: hide "glibc utils" if glibc is not selected

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>
Arthur Courtel 5 years ago
parent
commit
8d49b9522a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      package/glibc/Config.in

+ 2 - 1
package/glibc/Config.in

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