summaryrefslogtreecommitdiff
path: root/package/hal/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/hal/Config.in')
-rw-r--r--package/hal/Config.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/package/hal/Config.in b/package/hal/Config.in
index 250e00509..f8dc9dd8a 100644
--- a/package/hal/Config.in
+++ b/package/hal/Config.in
@@ -1,9 +1,10 @@
config BR2_PACKAGE_HAL
bool "hal"
+ depends on BR2_USE_WCHAR # glib2
select BR2_PACKAGE_EXPAT
select BR2_PACKAGE_LIBGLIB2
- select BR2_PACKAGE_GETTEXT
- select BR2_PACKAGE_LIBINTL
+ select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
+ select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
select BR2_PACKAGE_DBUS
select BR2_PACKAGE_DBUS_EXPAT
@@ -13,3 +14,6 @@ config BR2_PACKAGE_HAL
select BR2_PACKAGE_UDEV_VOLUME_ID
help
The Hardware Abstraction Layer (HAL) suite.
+
+comment "hal requires a toolchain with WCHAR support"
+ depends on !BR2_USE_WCHAR