diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-07-12 13:30:29 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-17 10:54:02 +0100 |
commit | 930296481979b930de3ae54c6767001591b1345c (patch) | |
tree | 924a1004f8748d73d35d71857fed41a0a876a888 /meta/recipes-devtools/guile/files | |
parent | eb6323cc56a6940babbb054e13fce1ad830d2f23 (diff) | |
download | poky-930296481979b930de3ae54c6767001591b1345c.tar.gz |
guile: Fix missing depends and broken arm build
This patch adds a fix where arm endianness is detected correctly
secondly it adds a missing dependency on libatomics-ops
which was found when build in clean tmpdir and populating
it from a valid sstate.
(From OE-Core rev: b537b035c9b9c9a1174dcafc0252c2b779b17902)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/guile/files')
-rw-r--r-- | meta/recipes-devtools/guile/files/arm_endianness.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-devtools/guile/files/arm_endianness.patch b/meta/recipes-devtools/guile/files/arm_endianness.patch new file mode 100644 index 0000000000..ea4328b81d --- /dev/null +++ b/meta/recipes-devtools/guile/files/arm_endianness.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | Support form ARM endianness | ||
2 | |||
3 | Fixes Yocto bug# 2729 | ||
4 | |||
5 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
6 | |||
7 | Upstream-Status: Pending | ||
8 | |||
9 | Index: guile-2.0.5/module/system/base/target.scm | ||
10 | =================================================================== | ||
11 | --- guile-2.0.5.orig/module/system/base/target.scm 2012-01-24 03:06:06.000000000 -0800 | ||
12 | +++ guile-2.0.5/module/system/base/target.scm 2012-07-12 13:05:44.372364103 -0700 | ||
13 | @@ -70,7 +70,9 @@ | ||
14 | ((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu" | ||
15 | "mips" "mips64")) | ||
16 | (endianness big)) | ||
17 | - ((string-match "^arm.*el" cpu) | ||
18 | + ((string-match "^arm.*eb" cpu) | ||
19 | + (endianness big)) | ||
20 | + ((string-match "^arm.*" cpu) | ||
21 | (endianness little)) | ||
22 | (else | ||
23 | (error "unknown CPU endianness" cpu))))) | ||