1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-06-30 22:09:48 +03:00

[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
This commit is contained in:
jow 2012-01-01 15:11:11 +00:00
parent a604775f66
commit e2b9e1a026
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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"