[OE-core] [PATCH 1/2] tcl: fix path in Config.sh for sstate

Robert Yang liezhi.yang at windriver.com
Tue Mar 25 08:34:14 UTC 2014


We need fix the path in tclConfig.sh, tdbcConfig.sh and itclConfig.sh
for sstate, otherwise there would be build failures when use the sstate
across different builds.

e.g., when building expect:
[snip]
tmp/sysroots/qemuarma9/usr/include/tcl8.6
checking for Tcl private include files... configure: error: Cannot find private header tclInt.h in
/path/to/another/build/tmp/sysroots/qemuarma9/usr/include/tcl8.6.1
Configure failed.
[snip]

[YOCTO #6035]

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 meta/recipes-devtools/tcltk/tcl_8.6.1.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.1.bb b/meta/recipes-devtools/tcltk/tcl_8.6.1.bb
index 79a3f08..9d35da1 100644
--- a/meta/recipes-devtools/tcltk/tcl_8.6.1.bb
+++ b/meta/recipes-devtools/tcltk/tcl_8.6.1.bb
@@ -90,3 +90,6 @@ do_install_ptest() {
 	cp -r ${S}/../library ${D}${PTEST_PATH}
 	cp -r ${S}/../tests ${D}${PTEST_PATH}
 }
+
+# Fix the path in sstate
+SSTATE_SCAN_FILES += "*Config.sh"
-- 
1.8.3.1




More information about the Openembedded-core mailing list