From 7b064a9dc1dc8c30c7b9982e263a754a144c0a99 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 14 Jul 2015 15:50:05 +0100 Subject: 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. Signed-off-by: Ross Burton --- meta/recipes-devtools/guile/guile_2.0.11.bb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'meta/recipes-devtools/guile') 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() { # Create guile-config returning target values instead of native values install -d ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS} echo '#!'`which ${BUILD_SYS}-guile`$' \\\n--no-auto-compile -e main -s\n!#\n(define %guile-build-info '\'\( \ - > guile-config.cross + > ${B}/guile-config.cross sed -n -e 's:^[ \t]*{[ \t]*": (:' \ -e 's:",[ \t]*": . ":' \ -e 's:" *}, *\\:"):' \ -e 's:^.*cachedir.*$::' \ -e '/^ (/p' \ - < libguile/libpath.h >> guile-config.cross - echo '))' >> guile-config.cross - cat meta/guile-config >> guile-config.cross - install guile-config.cross ${STAGING_BINDIR_CROSS}/guile-config + < ${B}/libguile/libpath.h >> ${B}/guile-config.cross + echo '))' >> ${B}/guile-config.cross + cat ${B}/meta/guile-config >> ${B}/guile-config.cross + install ${B}/guile-config.cross ${STAGING_BINDIR_CROSS}/guile-config fi } -- cgit v1.2.3