summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/guile/guile_2.0.6.bb13
1 files changed, 12 insertions, 1 deletions
diff --git a/meta/recipes-devtools/guile/guile_2.0.6.bb b/meta/recipes-devtools/guile/guile_2.0.6.bb
index 89fedcbcdc..45603e6eda 100644
--- a/meta/recipes-devtools/guile/guile_2.0.6.bb
+++ b/meta/recipes-devtools/guile/guile_2.0.6.bb
@@ -28,7 +28,7 @@ SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.gz \
28SRC_URI[md5sum] = "3438cd4415c0c43ca93a20e845eba7e2" 28SRC_URI[md5sum] = "3438cd4415c0c43ca93a20e845eba7e2"
29SRC_URI[sha256sum] = "3ece055145a5020dd36b84f5fbccd4b3846a671960dd5ee55931555f03200950" 29SRC_URI[sha256sum] = "3ece055145a5020dd36b84f5fbccd4b3846a671960dd5ee55931555f03200950"
30 30
31PR = "r1" 31PR = "r2"
32 32
33inherit autotools gettext 33inherit autotools gettext
34BBCLASSEXTEND = "native" 34BBCLASSEXTEND = "native"
@@ -90,3 +90,14 @@ guile_cross_config() {
90 install guile-config.cross ${STAGING_BINDIR_CROSS}/guile-config 90 install guile-config.cross ${STAGING_BINDIR_CROSS}/guile-config
91 fi 91 fi
92} 92}
93
94# Guile needs the compiled files to be newer than the source, and it won't
95# auto-compile into the prefix even if it can write there, so touch them here as
96# sysroot is managed.
97SSTATEPOSTINSTFUNCS += "guile_sstate_postinst"
98guile_sstate_postinst() {
99 if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ]
100 then
101 find ${STAGING_DIR_TARGET}/${libdir}/guile/2.0/ccache -type f | xargs touch
102 fi
103}