summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/guile/guile_2.0.11.bb
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-07-14 15:50:05 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-16 15:09:23 +0100
commit09fe2fde3e6f5cc7b0874534e796cbf98d4138d1 (patch)
treee7fff1651e2e7eb3bc36333b4ce84abda1d51e60 /meta/recipes-devtools/guile/guile_2.0.11.bb
parentbca59f9ba04d730f70e6026ac7f6fdcd787d8def (diff)
downloadpoky-09fe2fde3e6f5cc7b0874534e796cbf98d4138d1.tar.gz
guile: Add explicit directories to guile_cross_config
guile_cross_config() was using relative paths which mean it depends on exactly what directory it starts in. To clarify the code, always use absolute paths. (From OE-Core rev: 7b064a9dc1dc8c30c7b9982e263a754a144c0a99) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/guile/guile_2.0.11.bb')
-rw-r--r--meta/recipes-devtools/guile/guile_2.0.11.bb10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-devtools/guile/guile_2.0.11.bb b/meta/recipes-devtools/guile/guile_2.0.11.bb
index d1578e08cf..621fa0f52b 100644
--- a/meta/recipes-devtools/guile/guile_2.0.11.bb
+++ b/meta/recipes-devtools/guile/guile_2.0.11.bb
@@ -81,16 +81,16 @@ guile_cross_config() {
81 # Create guile-config returning target values instead of native values 81 # Create guile-config returning target values instead of native values
82 install -d ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS} 82 install -d ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}
83 echo '#!'`which ${BUILD_SYS}-guile`$' \\\n--no-auto-compile -e main -s\n!#\n(define %guile-build-info '\'\( \ 83 echo '#!'`which ${BUILD_SYS}-guile`$' \\\n--no-auto-compile -e main -s\n!#\n(define %guile-build-info '\'\( \
84 > guile-config.cross 84 > ${B}/guile-config.cross
85 sed -n -e 's:^[ \t]*{[ \t]*": (:' \ 85 sed -n -e 's:^[ \t]*{[ \t]*": (:' \
86 -e 's:",[ \t]*": . ":' \ 86 -e 's:",[ \t]*": . ":' \
87 -e 's:" *}, *\\:"):' \ 87 -e 's:" *}, *\\:"):' \
88 -e 's:^.*cachedir.*$::' \ 88 -e 's:^.*cachedir.*$::' \
89 -e '/^ (/p' \ 89 -e '/^ (/p' \
90 < libguile/libpath.h >> guile-config.cross 90 < ${B}/libguile/libpath.h >> ${B}/guile-config.cross
91 echo '))' >> guile-config.cross 91 echo '))' >> ${B}/guile-config.cross
92 cat meta/guile-config >> guile-config.cross 92 cat ${B}/meta/guile-config >> ${B}/guile-config.cross
93 install guile-config.cross ${STAGING_BINDIR_CROSS}/guile-config 93 install ${B}/guile-config.cross ${STAGING_BINDIR_CROSS}/guile-config
94 fi 94 fi
95} 95}
96 96