[oe-commits] Richard Purdie : tcltk: Fix for ${B} != ${S}
git at git.openembedded.org
git at git.openembedded.org
Mon Mar 18 21:25:05 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: e0705e4801a9855a4289d18e653c35190021206e
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e0705e4801a9855a4289d18e653c35190021206e
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Fri Mar 8 11:37:23 2013 +0000
tcltk: Fix for ${B} != ${S}
This change allows ${B} != ${S} builds to work since otherwise
gnu-configise is executed in the wrong places and various source
paths aren't correct.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-devtools/tcltk/tcl_8.5.13.bb | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-devtools/tcltk/tcl_8.5.13.bb b/meta/recipes-devtools/tcltk/tcl_8.5.13.bb
index 27a9ef6..01fe36d 100644
--- a/meta/recipes-devtools/tcltk/tcl_8.5.13.bb
+++ b/meta/recipes-devtools/tcltk/tcl_8.5.13.bb
@@ -34,12 +34,12 @@ DEPENDS_class-native = ""
EXTRA_OECONF = "--enable-threads --disable-rpath"
do_configure() {
- gnu-configize
+ ( cd ${S}; gnu-configize )
oe_runconf
}
do_compile_prepend() {
- echo > ../compat/fixstrtod.c
+ echo > ${S}/../compat/fixstrtod.c
}
do_install() {
@@ -52,7 +52,7 @@ do_install() {
install -d ${D}${bindir_crossscripts}
install -m 0755 tclConfig.sh ${D}${bindir_crossscripts}
cd ..
- for dir in compat generic unix
+ for dir in ${S}/../compat ${S}/../generic ${S}/../unix
do
install -d ${D}${includedir}/tcl${PV}/$dir
install -m 0644 $dir/*.h ${D}${includedir}/tcl${PV}/$dir/
More information about the Openembedded-commits
mailing list