[Buildroot] [PATCH 5/5] gettext: convert to autotools-package
Samuel Martin
s.martin49 at gmail.com
Mon Jul 23 03:44:28 UTC 2012
Hi,
2012/7/22 Samuel Martin <s.martin49 at gmail.com>:
[...]
> ifeq ($(BR2_PACKAGE_GETTEXT_TOOLS),)
> ifeq ($(BR2_ENABLE_LOCALE)\
> $(BR2_TOOLCHAIN_BUILDROOT)$(BR2_TOOLCHAIN_CTNG_uClibc)\
> $(BR2_TOOLCHAIN_EXTERNAL_UCLIBC)$(BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC),yy)
Just realize that this statement can be simplify like that:
ifeq ($(BR2_ENABLE_LOCALE)$(BR2_NEEDS_GETTEXT),yy)
In this case, maybe BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC should
trigger BR2_NEEDS_GETTEXT too?
diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in
index cc7b4de..4f1c8fb 100644
--- a/toolchain/toolchain-common.in
+++ b/toolchain/toolchain-common.in
@@ -86,6 +86,7 @@ config BR2_NEEDS_GETTEXT
bool
default y if BR2_TOOLCHAIN_BUILDROOT
default y if BR2_TOOLCHAIN_EXTERNAL_UCLIBC
+ default y if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
default y if BR2_TOOLCHAIN_CTNG_uClibc
config BR2_NEEDS_GETTEXT_IF_LOCALE
Tell me if you need I post a proper patch.
Cheers,
--
Sam
More information about the buildroot
mailing list