Patchwork [1/2] tcl: fix path in Config.sh for sstate

login
register
mail settings
Submitter Robert Yang
Date March 25, 2014, 8:34 a.m.
Message ID <790da89f24d3ff4dc3964ff5ce4b479cbb709366.1395736394.git.liezhi.yang@windriver.com>
Download mbox | patch
Permalink /patch/69135/
State New
Headers show

Comments

Robert Yang - March 25, 2014, 8:34 a.m.
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@windriver.com>
---
 meta/recipes-devtools/tcltk/tcl_8.6.1.bb | 3 +++
 1 file changed, 3 insertions(+)

Patch

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"