summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/guile/files/arm_endianness.patch23
-rw-r--r--meta/recipes-devtools/guile/guile_2.0.5.bb5
2 files changed, 26 insertions, 2 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 @@
1Support form ARM endianness
2
3Fixes Yocto bug# 2729
4
5Signed-off-by: Khem Raj <raj.khem@gmail.com>
6
7Upstream-Status: Pending
8
9Index: 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)))))
diff --git a/meta/recipes-devtools/guile/guile_2.0.5.bb b/meta/recipes-devtools/guile/guile_2.0.5.bb
index fc94a412a1..6c96f8764d 100644
--- a/meta/recipes-devtools/guile/guile_2.0.5.bb
+++ b/meta/recipes-devtools/guile/guile_2.0.5.bb
@@ -21,6 +21,7 @@ SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.gz \
21 file://guile_2.0.5_disable_goops_optimizations.patch \ 21 file://guile_2.0.5_disable_goops_optimizations.patch \
22 file://guile_2.0.5_fix_cross_compilation.patch \ 22 file://guile_2.0.5_fix_cross_compilation.patch \
23 file://remove-gets.patch \ 23 file://remove-gets.patch \
24 file://arm_endianness.patch \
24 " 25 "
25 26
26# file://debian/0001-Change-guile-to-guile-X.Y-for-info-pages.patch 27# file://debian/0001-Change-guile-to-guile-X.Y-for-info-pages.patch
@@ -29,14 +30,14 @@ SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.gz \
29SRC_URI[md5sum] = "bcf70d54b44c99cb9acd3f63c5486b4b" 30SRC_URI[md5sum] = "bcf70d54b44c99cb9acd3f63c5486b4b"
30SRC_URI[sha256sum] = "2a026ea6cdbc51ca71bcd9787839debfa45ac5db1e26dc00b30ca9b128b10956" 31SRC_URI[sha256sum] = "2a026ea6cdbc51ca71bcd9787839debfa45ac5db1e26dc00b30ca9b128b10956"
31 32
32PR = "r2" 33PR = "r3"
33 34
34inherit autotools gettext 35inherit autotools gettext
35BBCLASSEXTEND = "native" 36BBCLASSEXTEND = "native"
36 37
37DEPENDS = "libunistring bdwgc gmp libtool libffi" 38DEPENDS = "libunistring bdwgc gmp libtool libffi"
38# add guile-native only to the target recipe's DEPENDS 39# add guile-native only to the target recipe's DEPENDS
39DEPENDS += "${@['guile-native', ''][d.getVar('PN', True) != 'guile']}" 40DEPENDS += "${@['guile-native libatomics-ops', ''][d.getVar('PN', True) != 'guile']}"
40 41
41EXTRA_OECONF += "${@['--without-libltdl-prefix --without-libgmp-prefix', ''][bb.data.inherits_class('native',d)]}" 42EXTRA_OECONF += "${@['--without-libltdl-prefix --without-libgmp-prefix', ''][bb.data.inherits_class('native',d)]}"
42 43