aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/Makefile
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-01-01 15:11:11 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-01-01 15:11:11 +0000
commita13cb527c95ed1a4a84644faf4ac18e56b53b8dd (patch)
tree91466786effb4a6d7e4fed0732aabec6e94a0a17 /toolchain/uClibc/Makefile
parent859e59397b74e2a639b31e3b90a8c3531a9a4e32 (diff)
downloadupstream-a13cb527c95ed1a4a84644faf4ac18e56b53b8dd.tar.gz
upstream-a13cb527c95ed1a4a84644faf4ac18e56b53b8dd.tar.bz2
upstream-a13cb527c95ed1a4a84644faf4ac18e56b53b8dd.zip
[toolchain] if CONFIG_BUILD_NLS is selected, compile uClibc with locale support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29633 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/uClibc/Makefile')
-rw-r--r--toolchain/uClibc/Makefile1
1 files changed, 1 insertions, 0 deletions
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"