diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-15 12:02:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-15 12:06:41 +0100 |
commit | a5210e47b08e0ee42e9e188d83953203147a994d (patch) | |
tree | 7c77aa8c905d68deed4907a9051304daa0bdf169 /meta | |
parent | d979ee01b51c5e53cd38228659ff67c780f7efe4 (diff) | |
download | poky-a5210e47b08e0ee42e9e188d83953203147a994d.tar.gz |
guile: Fix binary relocation issue for precompiled guile objects
When guile-native was relocated, there were messages like:
;;; note: source file /srv/home/pokybuild/yocto-autobuilder/yocto-slave/emenlow/build/build/tmp/sysroots/x86_64-linux/usr/share/guile/2.0/ice-9/eval.scm
;;; newer than compiled /srv/home/pokybuild/yocto-autobuilder/yocto-slave/fri2/build/build/tmp/sysroots/x86_64-linux/usr/lib/guile/2.0/ccache/ice-9/eval.go
and this confuses things like the autogen-native "guile --version"
check. This patch ensures the wrapper script sets the necessary
variables correctly.
(From OE-Core rev: 7a254d8294cfbe4b717d083c3d7fcc5515a5ab4f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/guile/guile_2.0.3.bb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-devtools/guile/guile_2.0.3.bb b/meta/recipes-devtools/guile/guile_2.0.3.bb index b638a180dd..164ab8c647 100644 --- a/meta/recipes-devtools/guile/guile_2.0.3.bb +++ b/meta/recipes-devtools/guile/guile_2.0.3.bb | |||
@@ -24,7 +24,7 @@ SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.gz \ | |||
24 | SRC_URI[md5sum] = "3b8b4e1083037f29d2c4704a6d55f2a8" | 24 | SRC_URI[md5sum] = "3b8b4e1083037f29d2c4704a6d55f2a8" |
25 | SRC_URI[sha256sum] = "a53b21159befe3e89bbaca71e9e62cf00af0f49fcca297c407944b988d59eb08" | 25 | SRC_URI[sha256sum] = "a53b21159befe3e89bbaca71e9e62cf00af0f49fcca297c407944b988d59eb08" |
26 | 26 | ||
27 | PR = "r4" | 27 | PR = "r5" |
28 | 28 | ||
29 | inherit autotools gettext | 29 | inherit autotools gettext |
30 | BBCLASSEXTEND = "native" | 30 | BBCLASSEXTEND = "native" |
@@ -58,9 +58,11 @@ do_install_append_virtclass-native() { | |||
58 | install -m 0755 ${D}${bindir}/guile ${D}${bindir}/${HOST_SYS}-guile | 58 | install -m 0755 ${D}${bindir}/guile ${D}${bindir}/${HOST_SYS}-guile |
59 | 59 | ||
60 | create_wrapper ${D}/${bindir}/guile \ | 60 | create_wrapper ${D}/${bindir}/guile \ |
61 | GUILE_LOAD_PATH=${STAGING_DATADIR_NATIVE}/guile/2.0 | 61 | GUILE_LOAD_PATH=${STAGING_DATADIR_NATIVE}/guile/2.0 \ |
62 | GUILE_LOAD_COMPILED_PATH=${STAGING_LIBDIR_NATIVE}/guile/2.0/ccache | ||
62 | create_wrapper ${D}${bindir}/${HOST_SYS}-guile | 63 | create_wrapper ${D}${bindir}/${HOST_SYS}-guile |
63 | GUILE_LOAD_PATH=${STAGING_DATADIR_NATIVE}/guile/2.0 | 64 | GUILE_LOAD_PATH=${STAGING_DATADIR_NATIVE}/guile/2.0 \ |
65 | GUILE_LOAD_COMPILED_PATH=${STAGING_LIBDIR_NATIVE}/guile/2.0/ccache | ||
64 | } | 66 | } |
65 | 67 | ||
66 | SYSROOT_PREPROCESS_FUNCS = "guile_cross_config" | 68 | SYSROOT_PREPROCESS_FUNCS = "guile_cross_config" |