]> code.ossystems Code Review - openembedded-core.git/commitdiff
uninative-tarball: glibc-gconv-{utf-16, cp1252} for binutils windres
authorNathan Rossi <nathan@nathanrossi.com>
Thu, 23 Mar 2017 16:14:16 +0000 (02:14 +1000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Mar 2017 16:30:10 +0000 (16:30 +0000)
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>
meta/recipes-core/meta/uninative-tarball.bb

index bbde0d215086018adfab71e6bb7d5901273d4518..f3fc1ebe62fdb251636e12d020ef0a7556045c99 100644 (file)
@@ -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 \
     "