[oe-commits] Robert Yang : tcl: fix path in Config.sh for sstate

git at git.openembedded.org git at git.openembedded.org
Tue Mar 25 21:18:55 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: cd83e4a30311e4399c6c634fe06ec835a95a1c17
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=cd83e4a30311e4399c6c634fe06ec835a95a1c17

Author: Robert Yang <liezhi.yang at windriver.com>
Date:   Tue Mar 25 16:34:14 2014 +0800

tcl: fix path in Config.sh for sstate

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>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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"



More information about the Openembedded-commits mailing list