summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2017-03-24 02:14:16 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-23 16:30:10 +0000
commit778fb2342da55e202cfb7af04bbf120c1b68620a (patch)
tree077e40bd3aa3dc04b9885b85dc2473e72cc94507
parent3b5ac72bdf76ac8ff98dc3c882a4edc77c6e2c33 (diff)
downloadopenembedded-core-778fb2342da55e202cfb7af04bbf120c1b68620a.tar.gz
openembedded-core-778fb2342da55e202cfb7af04bbf120c1b68620a.tar.bz2
openembedded-core-778fb2342da55e202cfb7af04bbf120c1b68620a.zip
uninative-tarball: glibc-gconv-{utf-16, cp1252} for binutils windres
The windres binutils binary which is used for Windows resource files requires utf-16 and cp1252 encoding support in order to correctly generate resource files with strings. As such when using uninative to build mingw resources for a nativesdk target the windres binary is executed on the native host, thus using the uninative libc and gconv modules. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/meta/uninative-tarball.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/meta/uninative-tarball.bb b/meta/recipes-core/meta/uninative-tarball.bb
index bbde0d2150..f3fc1ebe62 100644
--- a/meta/recipes-core/meta/uninative-tarball.bb
+++ b/meta/recipes-core/meta/uninative-tarball.bb
@@ -5,10 +5,13 @@ TOOLCHAIN_TARGET_TASK = ""
# ibm850 - mcopy from mtools
# iso8859-1 - guile
+# utf-16, cp1252 - binutils-windres
TOOLCHAIN_HOST_TASK = "\
nativesdk-glibc \
nativesdk-glibc-gconv-ibm850 \
nativesdk-glibc-gconv-iso8859-1 \
+ nativesdk-glibc-gconv-utf-16 \
+ nativesdk-glibc-gconv-cp1252 \
nativesdk-patchelf \
"