[oe-commits] Martin Jansa : opkg-utils: convert to new staging, BBCLASSEXTEND native, fix QA GNU_HASH error

git version control git at git.openembedded.org
Thu Jun 10 19:55:44 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 32054e2926f403045734a8338eeeefaa474e0468
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=32054e2926f403045734a8338eeeefaa474e0468

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Wed Jun  9 16:12:39 2010 +0200

opkg-utils: convert to new staging, BBCLASSEXTEND native, fix QA GNU_HASH error

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/opkg-utils/opkg-utils-native_svn.bb |   11 -----------
 recipes/opkg-utils/opkg-utils_svn.bb        |   13 +++++++------
 2 files changed, 7 insertions(+), 17 deletions(-)

diff --git a/recipes/opkg-utils/opkg-utils-native_svn.bb b/recipes/opkg-utils/opkg-utils-native_svn.bb
deleted file mode 100644
index b670378..0000000
--- a/recipes/opkg-utils/opkg-utils-native_svn.bb
+++ /dev/null
@@ -1,11 +0,0 @@
-require opkg-utils_svn.bb
-SRCREV = "4595"
-
-RDEPENDS_${PN} = ""
-
-inherit native
-
-# Avoid circular dependencies from package_ipk.bbclass
-PACKAGES = ""
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/opkg-utils"
-
diff --git a/recipes/opkg-utils/opkg-utils_svn.bb b/recipes/opkg-utils/opkg-utils_svn.bb
index bb404a6..f127c27 100644
--- a/recipes/opkg-utils/opkg-utils_svn.bb
+++ b/recipes/opkg-utils/opkg-utils_svn.bb
@@ -3,17 +3,18 @@ SECTION = "base"
 PRIORITY = "optional"
 LICENSE = "GPL"
 RDEPENDS_${PN} = "python"
-SRCREV = "4578"
-PR = "r2"
+RDEPENDS_virtclass_native = ""
+SRCREV = "4595"
+PV = "0.0+svnr${SRCPV}"
+PR = "r3"
+
+BBCLASSEXTEND = "native"
 
 SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=opkg-utils;proto=http"
 
+TARGET_CC_ARCH += "${LDFLAGS}"
 S = "${WORKDIR}/opkg-utils"
 
 inherit autotools
 
 S = "${WORKDIR}/opkg-utils"
-
-do_stage () {
-	autotools_stage_all
-}





More information about the Openembedded-commits mailing list