[oe] [PATCH] tcl: Merged native and target packages using BBCLASSEXTEND

Noor Ahsan noor_ahsan at mentor.com
Tue Aug 31 10:32:34 UTC 2010


* Set BBCLASSEXTEND to native.
* Change /usr/include/tcl-private to ${includedir}/tcl-private so that it can be used for native package.
* Bump PR to "r8"

Signed-off-by: Noor Ahsan <noor_ahsan at mentor.com>
---
 recipes/tcltk/tcl_8.5.8.bb |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/recipes/tcltk/tcl_8.5.8.bb b/recipes/tcltk/tcl_8.5.8.bb
index e8905f0..8630240 100644
--- a/recipes/tcltk/tcl_8.5.8.bb
+++ b/recipes/tcltk/tcl_8.5.8.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Tool Command Language"
 HOMEPAGE = "http://tcl.sourceforge.net"
 SECTION = "devel/tcltk"
 LICENSE = "tcl"
-PR = "r7"
+PR = "r8"
 
 SRC_URI = "\
   ${SOURCEFORGE_MIRROR}/tcl/tcl${PV}-src.tar.gz \
@@ -48,8 +48,9 @@ FILES_${PN} += "${libdir}/tcl*"
 FILES_${PN}-dev += "${libdir}/tclConfig.sh"
 
 BINCONFIG_GLOB = "*Config.sh"
+BBCLASSEXTEND = "native"
 
 tcl_sysroot() {
-        sed -i 's:/usr/include/tcl-private:${STAGING_INCDIR}/tcl-${PV}:' tclConfig.sh
+        sed -i 's:${includedir}/tcl-private:${STAGING_INCDIR}/tcl-${PV}:' tclConfig.sh
 }
 
-- 
1.6.3.3





More information about the Openembedded-devel mailing list