[oe-commits] Koen Kooi : flex 2.5.31: convert to bbclassextend to avoid dep loops with bitbake 1.8.x, 1.10. x works as expected

git version control git at git.openembedded.org
Tue Apr 13 13:58:01 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: ddbb8e9390b509c79afb8d8193031285c0b136ca
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ddbb8e9390b509c79afb8d8193031285c0b136ca

Author: Koen Kooi <koen at openembedded.org>
Date:   Tue Apr 13 15:23:19 2010 +0200

flex 2.5.31: convert to bbclassextend to avoid dep loops with bitbake 1.8.x, 1.10.x works as expected

---

 recipes/flex/flex-native_2.5.31.bb |   13 -------------
 recipes/flex/flex_2.5.31.bb        |    4 +---
 2 files changed, 1 insertions(+), 16 deletions(-)

diff --git a/recipes/flex/flex-native_2.5.31.bb b/recipes/flex/flex-native_2.5.31.bb
deleted file mode 100644
index d5d6db4..0000000
--- a/recipes/flex/flex-native_2.5.31.bb
+++ /dev/null
@@ -1,13 +0,0 @@
-require flex_${PV}.bb
-inherit native
-PR = "r3"
-
-do_stage () {
-	install -m 0755 flex ${STAGING_BINDIR}
-	oe_libinstall -a libfl ${STAGING_LIBDIR}
-	ln -sf ./flex ${STAGING_BINDIR}/flex++
-	ln -sf ./flex ${STAGING_BINDIR}/lex
-}
-
-SRC_URI[md5sum] = "363dcc4afc917dc51306eb9d3de0152f"
-SRC_URI[sha256sum] = "701353279a17655d78e3b3678ad78d0375f5bf45877ad8b3507d589c42427f26"
diff --git a/recipes/flex/flex_2.5.31.bb b/recipes/flex/flex_2.5.31.bb
index f555986..71b8e69 100644
--- a/recipes/flex/flex_2.5.31.bb
+++ b/recipes/flex/flex_2.5.31.bb
@@ -6,10 +6,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/flex/flex-${PV}.tar.bz2 \
            file://fix-gen.patch;patch=1 \
            file://include.patch;patch=1"
 
-do_stage() {
-	oe_libinstall -a libfl ${STAGING_LIBDIR}
-}
 
+BBCLASSEXTEND = "native"
 
 SRC_URI[md5sum] = "363dcc4afc917dc51306eb9d3de0152f"
 SRC_URI[sha256sum] = "701353279a17655d78e3b3678ad78d0375f5bf45877ad8b3507d589c42427f26"





More information about the Openembedded-commits mailing list