From ea3ec21c12d8c942bbf364f0ca2860862f9d6248 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 27 Sep 2016 21:12:59 +0200 Subject: fixup locale support --- toolchain/uclibc-ng/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'toolchain/uclibc-ng') 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 -- cgit v1.2.3