summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2015-11-30 06:01:38 +0100
committerPeter Korsgaard <peter@korsgaard.com>2015-11-30 17:13:04 +0100
commitcf5f3fcc5a1783229c5cb0f832f832f4f43d72f7 (patch)
treee6aa9336f2681ab230afc6a1c776164ded46a6d7
parent03ac181e049e8ce29156b05cb5e830de15f1692a (diff)
downloadbuildroot-cf5f3fcc5a1783229c5cb0f832f832f4f43d72f7.tar.gz
buildroot-cf5f3fcc5a1783229c5cb0f832f832f4f43d72f7.zip
package/libv4l: v4l-utils need locale
To reproduce the setlocale-related build error use this minimal defconfig: BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_PACKAGE_LIBV4L=y BR2_PACKAGE_LIBV4L_UTILS=y After enabling locale support the build error is fixed: BR2_TOOLCHAIN_BUILDROOT_LOCALE=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_PACKAGE_LIBV4L=y BR2_PACKAGE_LIBV4L_UTILS=y Fixes http://autobuild.buildroot.net/results/f2e/f2e4e34fb14ce355a6e92afc83024b0445f52513/ http://autobuild.buildroot.net/results/fe5/fe56063ddd2232fea7699f5117497beb3deca11e/ http://autobuild.buildroot.net/results/1be/1be55f096ddef2aa38fdba681ed97cf74905477a/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/libv4l/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libv4l/Config.in b/package/libv4l/Config.in
index 16dc6bbd9e..8d7eca1a68 100644
--- a/package/libv4l/Config.in
+++ b/package/libv4l/Config.in
@@ -23,6 +23,7 @@ comment "libv4l JPEG support not enabled"
config BR2_PACKAGE_LIBV4L_UTILS
bool "v4l-utils tools"
+ depends on BR2_ENABLE_LOCALE
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
help
v4l-utils is a collection of various video4linux and DVB utilities.
@@ -38,6 +39,9 @@ config BR2_PACKAGE_LIBV4L_UTILS
- rds-ctl
- qv4l2 (if Qt is enabled)
+comment "libv4l-utils tools need a toolchain w/ locale"
+ depends on !BR2_ENABLE_LOCALE
+
endif
comment "libv4l needs an uClibc or (e)glibc toolchain w/ threads, dynamic library, C++ and headers >= 3.0"
OpenPOWER on IntegriCloud