Patchwork libc-package.bbclass: Add armeb architecture to locale_arch_options

login
register
mail settings
Submitter Fathi Boudra
Date Aug. 2, 2013, 9:08 a.m.
Message ID <1375434500-869-1-git-send-email-fathi.boudra@linaro.org>
Download mbox | patch
Permalink /patch/54969/
State Accepted
Commit a714cdf431635c4a344d3a135a71061e5629eed8
Headers show

Comments

Fathi Boudra - Aug. 2, 2013, 9:08 a.m.
Fix gconv build failure on ARM big-endian architecture:
ERROR: locale_arch_options not found for target_arch=armeb
ERROR: Function failed: unknown arch:armeb for locale_arch_options

Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org>
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
---
 meta/classes/libc-package.bbclass | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass
index 74e2078..fd06c4a 100644
--- a/meta/classes/libc-package.bbclass
+++ b/meta/classes/libc-package.bbclass
@@ -267,6 +267,7 @@  python package_do_split_gconvs () {
             target_arch = d.getVar('TARGET_ARCH', True)
             locale_arch_options = { \
                 "arm":     " --uint32-align=4 --little-endian ", \
+                "armeb":   " --uint32-align=4 --big-endian ",    \
                 "sh4":     " --uint32-align=4 --big-endian ",    \
                 "powerpc": " --uint32-align=4 --big-endian ",    \
                 "powerpc64": " --uint32-align=4 --big-endian ",  \