diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-27 21:12:59 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-27 21:12:59 +0200 |
commit | ea3ec21c12d8c942bbf364f0ca2860862f9d6248 (patch) | |
tree | 283f264c37594dc9be106526ebf4251d96be61ad | |
parent | 0da1402de3ff7d5b3d23d1e48b34c6328017b8e6 (diff) |
fixup locale support
-rw-r--r-- | toolchain/uclibc-ng/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/toolchain/uclibc-ng/Makefile b/toolchain/uclibc-ng/Makefile index faf25dd7b..e75202d7f 100644 --- a/toolchain/uclibc-ng/Makefile +++ b/toolchain/uclibc-ng/Makefile @@ -98,7 +98,6 @@ ifeq ($(ADK_TARGET_LIBC_ICONV),y) endif ifeq ($(ADK_RUNTIME_ENABLE_LOCALE),y) $(SED) 's/.*\(UCLIBC_HAS_LOCALE\).*/\1=y/' ${WRKBUILD}/.config - $(SED) 's/.*\(UCLIBC_BUILD_MINIMAL_LOCALE\).*/\1=y/' ${WRKBUILD}/.config endif ifeq ($(ADK_TARGET_UCLINUX),y) $(SED) 's/.*\(ARCH_USE_MMU\).*/# \1 is not set/' ${WRKBUILD}/.config @@ -294,6 +293,9 @@ endif UCLIBC_EXTRA_CFLAGS="$(TARGET_CFLAGS)" \ UCLIBC_EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" \ oldconfig +ifeq ($(ADK_RUNTIME_ENABLE_LOCALE),y) + $(SED) 's/.*\(UCLIBC_BUILD_MINIMAL_LOCALES\).*/\1="$(ADK_RUNTIME_DEFAULT_LOCALE)"/' ${WRKBUILD}/.config +endif touch $@ $(WRKBUILD)/.compiled: $(WRKBUILD)/.configured |