[OE-core] [PATCH 3/3] tcltk: do not deploy bindir_crossscripts to targets
Ming Liu
ming.liu at windriver.com
Sat Nov 22 04:35:54 UTC 2014
It does not make much sense to deploy bindir_crossscripts to targets
especially when we have other alternatives, let binconfig handle it.
Signed-off-by: Ming Liu <ming.liu at windriver.com>
---
meta/recipes-devtools/tcltk/tcl_8.6.3.bb | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.3.bb b/meta/recipes-devtools/tcltk/tcl_8.6.3.bb
index 73c0d25..27197fa 100644
--- a/meta/recipes-devtools/tcltk/tcl_8.6.3.bb
+++ b/meta/recipes-devtools/tcltk/tcl_8.6.3.bb
@@ -58,8 +58,7 @@ do_install() {
sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh
sed -i "s,-L${libdir},-L=${libdir},g" tclConfig.sh
sed -i "s,-I${includedir},-I=${includedir},g" tclConfig.sh
- install -d ${D}${bindir_crossscripts}
- install -m 0755 tclConfig.sh ${D}${bindir_crossscripts}
+ install -m 0755 tclConfig.sh ${D}${bindir}
install -m 0755 tclConfig.sh ${D}${libdir}
cd ..
for dir in compat generic unix; do
@@ -68,11 +67,6 @@ do_install() {
done
}
-SYSROOT_PREPROCESS_FUNCS += "tcl_sysroot_preprocess"
-tcl_sysroot_preprocess () {
- sysroot_stage_dir ${D}${bindir_crossscripts} ${SYSROOT_DESTDIR}${bindir_crossscripts}
-}
-
PACKAGES =+ "tcl-lib"
FILES_tcl-lib = "${libdir}/libtcl8.6.so.*"
FILES_${PN} += "${libdir}/tcl${VER} ${libdir}/tcl8.6 ${libdir}/tcl8"
@@ -97,6 +91,7 @@ do_install_ptest() {
# Fix some paths that might be used by Tcl extensions
BINCONFIG_GLOB = "*Config.sh"
+BINCONFIG_FILES = "${bindir}/*Config.sh"
# Fix the path in sstate
SSTATE_SCAN_FILES += "*Config.sh"
--
1.8.4.1
More information about the Openembedded-core
mailing list