summaryrefslogtreecommitdiff
path: root/adk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-06-25 21:04:23 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-06-26 12:41:05 +0200
commit1cf04b9efde27c39a600862f962e0a703e3fc20f (patch)
tree9e5c99ba274e7727a3e2cc65c39d26cc2fe45bdc /adk
parent9162b50f553369444930878e318a929509aa720f (diff)
rework intl/iconv/locale configuration for uClibc-ng toolchains
Diffstat (limited to 'adk')
-rw-r--r--adk/tools/pkgmaker.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/adk/tools/pkgmaker.c b/adk/tools/pkgmaker.c
index 6a32958e7..8ab121234 100644
--- a/adk/tools/pkgmaker.c
+++ b/adk/tools/pkgmaker.c
@@ -910,7 +910,11 @@ int main() {
fprintf(cfg, "\tselect ADK_PACKAGE_LIBSTDCXX\n");
}
if (strncmp(token, "iconv", 5) == 0)
- fprintf(cfg, "\tdepends on ADK_TARGET_LIBC_ICONV\n");
+ fprintf(cfg, "\tselect ADK_TARGET_LIBC_WITH_LIBICONV if ADK_TARGET_LIB_UCLIBC_NG\n");
+ if (strncmp(token, "intl", 4) == 0)
+ fprintf(cfg, "\tselect ADK_TARGET_LIBC_WITH_LIBINTL if ADK_TARGET_LIB_UCLIBC_NG\n");
+ if (strncmp(token, "locale", 6) == 0)
+ fprintf(cfg, "\tselect ADK_TARGET_LIBC_WITH_LOCALE if ADK_TARGET_LIB_UCLIBC_NG\n");
if (strncmp(token, "threads", 7) == 0)
fprintf(cfg, "\tselect ADK_TARGET_LIB_WITH_THREADS\n");
if (strncmp(token, "mmu", 3) == 0)