Config.in files: add/update comments on (e)glibc dependencies

This patch adds missing comments about (e)glibc dependencies and updates the
text of existing comments.

Additionally, it splits dependency expressions for the touched packages from
  depends on BR2_BASE_DEP && !BR2_TOOLCHAIN_USES_GLIBC
to
  depends on BR2_BASE_DEP
  depends on !BR2_TOOLCHAIN_USES_GLIBC
so that (positive) base dependencies are separate from the (negative)
toolchain dependencies. This strategy makes it easier to write such comments
(because one can simply copy the base dependency from the actual package
config option), but also avoids complex and long boolean expressions.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas De Schampheleire 2013-10-31 13:02:39 +01:00 committed by Thomas Petazzoni
parent 90af4f16c5
commit d6a44b2f0a
9 changed files with 25 additions and 15 deletions

View File

@ -28,5 +28,5 @@ config BR2_PACKAGE_CPPCMS_ICU
Using ICU allows advanced localization features into CppCMS,
in another hand ICU is heavier than iconv.
comment "cppcms needs a glibc toolchain w/ C++"
comment "cppcms needs an (e)glibc toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_USES_GLIBC

View File

@ -1,4 +1,4 @@
comment "gpu-viv-bin-mx6q requires a glibc toolchain"
comment "gpu-viv-bin-mx6q needs an (e)glibc toolchain"
depends on !BR2_TOOLCHAIN_USES_GLIBC
config BR2_PACKAGE_GPU_VIV_BIN_MX6Q

View File

@ -11,5 +11,6 @@ config BR2_PACKAGE_GST_PLUGIN_X170
http://www.at91.com/linux4sam/bin/view/Linux4SAM/SAM9M10Gstreamer
comment "gst-plugin-x170 requires a toolchain which uses eglibc/glibc"
depends on BR2_PACKAGE_GSTREAMER && BR2_arm926t && !BR2_TOOLCHAIN_USES_GLIBC
comment "gst-plugin-x170 needs an (e)glibc toolchain"
depends on BR2_PACKAGE_GSTREAMER && BR2_arm926t
depends on !BR2_TOOLCHAIN_USES_GLIBC

View File

@ -17,7 +17,7 @@ config BR2_PACKAGE_LIBV4L_DECODE_TM6000
help
Tool to decode tm6000 proprietary format streams
comment "decode_tm6000 requires a GLIBC based toolchain"
comment "decode_tm6000 needs an (e)glibc toolchain"
depends on !BR2_TOOLCHAIN_USES_GLIBC
config BR2_PACKAGE_LIBV4L_IR_KEYTABLE
@ -26,7 +26,7 @@ config BR2_PACKAGE_LIBV4L_IR_KEYTABLE
help
Tool to alter keymaps of Remote Controller devices
comment "ir-keytable requires a GLIBC based toolchain"
comment "ir-keytable needs an (e)glibc toolchain"
depends on !BR2_TOOLCHAIN_USES_GLIBC
config BR2_PACKAGE_LIBV4L_V4L2_COMPLIANCE

View File

@ -13,3 +13,7 @@ config BR2_PACKAGE_NSS_MDNS
mDNS domain .local.
http://0pointer.de/lennart/projects/nss-mdns/
comment "nss-mdns needs an (e)glibc toolchain"
depends on BR2_USE_MMU && BR2_PACKAGE_AVAHI_DAEMON
depends on !BR2_TOOLCHAIN_USES_GLIBC

View File

@ -10,5 +10,6 @@ config BR2_PACKAGE_ON2_8170_LIBS
http://www.at91.com/linux4sam/bin/view/Linux4SAM/SAM9M10Gstreamer
comment "on2-8170 libs requires a linux kernel to be built"
depends on !BR2_LINUX_KERNEL
comment "on2-8170-libs needs an (e)glibc toolchain and a linux kernel to be built"
depends on BR2_arm926t
depends on !BR2_LINUX_KERNEL || !BR2_TOOLCHAIN_USES_GLIBC

View File

@ -1,6 +1,7 @@
config BR2_PACKAGE_SUNXI_CEDARX
bool "sunxi-cedarx"
depends on BR2_TOOLCHAIN_USES_GLIBC && BR2_arm
depends on BR2_arm
depends on BR2_TOOLCHAIN_USES_GLIBC
help
Sunxi CedarX decoder libraries. CedarX is Allwinner's
multimedia co-processing technology for hardware accelerated
@ -10,5 +11,6 @@ config BR2_PACKAGE_SUNXI_CEDARX
http://github.com/linux-sunxi/cedarx-libs
http://linux-sunxi.org/CedarX
comment "sunxi-cedarx requires an eglibc/glibc based toolchain"
depends on !BR2_TOOLCHAIN_USES_GLIBC && BR2_arm
comment "sunxi-cedarx needs an (e)glibc toolchain"
depends on BR2_arm
depends on !BR2_TOOLCHAIN_USES_GLIBC

View File

@ -57,5 +57,6 @@ endchoice
endif
comment "sunxi-mali requires an eglibc/glibc based toolchain"
depends on BR2_arm && !BR2_TOOLCHAIN_USES_GLIBC
comment "sunxi-mali needs an (e)glibc toolchain"
depends on BR2_arm
depends on !BR2_TOOLCHAIN_USES_GLIBC

View File

@ -60,5 +60,6 @@ endchoice
endif
comment "ti-gfx requires an eglibc/glibc based toolchain and the linux kernel"
depends on !(BR2_LINUX_KERNEL && BR2_TOOLCHAIN_USES_GLIBC) && BR2_arm
comment "ti-gfx needs an (e)glibc toolchain and the linux kernel"
depends on BR2_arm
depends on !(BR2_LINUX_KERNEL && BR2_TOOLCHAIN_USES_GLIBC)