diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-01-01 15:11:11 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-01-01 15:11:11 +0000 |
commit | d22adb1b064eef2ee878f357e99589e30437ff31 (patch) | |
tree | 3656c925e31f6087f3e5e97536725a3f52838d13 | |
parent | 5c067db8a7e21d9414692f49f2478bf9dce1de8c (diff) | |
download | upstream-d22adb1b064eef2ee878f357e99589e30437ff31.tar.gz upstream-d22adb1b064eef2ee878f357e99589e30437ff31.tar.bz2 upstream-d22adb1b064eef2ee878f357e99589e30437ff31.zip |
if CONFIG_BUILD_NLS is selected, compile uClibc with locale support
SVN-Revision: 29633
-rw-r--r-- | Config.in | 2 | ||||
-rw-r--r-- | toolchain/uClibc/Makefile | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -145,7 +145,7 @@ menu "Global build settings" bool "Compile with full language support" help When this option is enabled, packages are built with the full versions of iconv and GNU gettext - instead of the default OpenWrt stubs. + instead of the default OpenWrt stubs. If uClibc is used, it is also built with locale support. config SHADOW_PASSWORDS bool diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile index 5f4ddb5d9f..8c658448b3 100644 --- a/toolchain/uClibc/Makefile +++ b/toolchain/uClibc/Makefile @@ -78,6 +78,7 @@ define Host/Prepare -e 's,^.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=$(if $(CONFIG_SOFT_FLOAT),n,y),g' \ -e 's,^.*UCLIBC_HAS_SOFT_FLOAT.*,UCLIBC_HAS_SOFT_FLOAT=$(if $(CONFIG_SOFT_FLOAT),y,n),g' \ -e 's,^.*UCLIBC_HAS_SHADOW.*,UCLIBC_HAS_SHADOW=$(if $(CONFIG_SHADOW_PASSWORDS),y,n),g' \ + -e 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=$(if $(CONFIG_BUILD_NLS),y,n),g' \ $(HOST_BUILD_DIR)/.config $(MAKE) -C $(HOST_BUILD_DIR) oldconfig KBUILD_HAVE_NLS= HOSTCFLAGS="-DKBUILD_NO_NLS" $(MAKE) -C $(HOST_BUILD_DIR)/extra/config conf KBUILD_HAVE_NLS= HOSTCFLAGS="-DKBUILD_NO_NLS" |