Config.in files: add/update comments on (e)glibc dependencies
Subsystems (2)
PATCH 1/1 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.
---
Note: I'm planning additional patches to line up the other Config.in files with the mentioned split base/toolchain dependency strategy, but since 2013.11 is approaching I'm already sending this in the hope it can still be applied.
package/cppcms/Config.in | 2 +- package/freescale-imx/gpu-viv-bin-mx6q/Config.in | 2 +- package/gstreamer/gst-plugin-x170/Config.in | 5 +++-- package/libv4l/Config.in | 4 ++-- package/nss-mdns/Config.in | 4 ++++ package/on2-8170-libs/Config.in | 5 +++-- package/sunxi-cedarx/Config.in | 8 +++++--- package/sunxi-mali/Config.in | 5 +++-- package/ti-gfx/Config.in | 5 +++-- 9 files changed, 25 insertions(+), 15 deletions(-)
package/cppcms/Config.in +1 -1
@@ -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
package/freescale-imx/gpu-viv-bin-mx6q/Config.in +1 -1
@@ -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
package/gstreamer/gst-plugin-x170/Config.in +3 -2
@@ -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
package/libv4l/Config.in +2 -2
@@ -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
package/nss-mdns/Config.in +4 -0
@@ -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
package/on2-8170-libs/Config.in +3 -2
@@ -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
package/sunxi-cedarx/Config.in +5 -3
@@ -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
package/sunxi-mali/Config.in +3 -2
@@ -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
package/ti-gfx/Config.in +3 -2
@@ -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)
Thomas Petazzoni
AppliedPATCH 1/1 Config.in files: add/update comments on (e)glibc dependencies
Dear Thomas De Schampheleire,
Quoted 13 lines · Thomas De Schampheleire
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 onBR2_BASE_DEP&& !BR2_TOOLCHAIN_USES_GLIBC
to
depends onBR2_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.
Quoted 1 line
Signed-off-by Thomas De Schampheleire <[email protected]>
Applied to for-peter-2013.11, thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com