Browse Source

package/elfutils: Show a comment explaining that elfutils progs need glibc

The elfutils programs require Glibc to be used as the C library. Show a
comment when this libc isn't used in the toolchain.

Suggested-by: Yann E. MORIN <yann.morin@orange.com>
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
Maxime Chevallier 1 month ago
parent
commit
52ba3ed657
1 changed files with 3 additions and 0 deletions
  1. 3 0
      package/elfutils/Config.in

+ 3 - 0
package/elfutils/Config.in

@@ -28,4 +28,7 @@ config BR2_PACKAGE_ELFUTILS_PROGS
 	  This option tells elfutils to not only install the libelf
 	  This option tells elfutils to not only install the libelf
 	  libraries, but also the elfutils programs.
 	  libraries, but also the elfutils programs.
 
 
+comment "elfutils programs needs a glibc toolchain"
+	depends on !BR2_TOOLCHAIN_USES_GLIBC
+
 endif
 endif