mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
bca59f9ba0
commit
09fe2fde3e
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user