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 năm trước cách đây
mục cha
commit
8d49b9522a
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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
 	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