opkg-utils: convert to new staging, BBCLASSEXTEND native, fix QA GNU_HASH error
authorMartin Jansa <Martin.Jansa@gmail.com>
Wed, 9 Jun 2010 14:12:39 +0000 (16:12 +0200)
committerMartin Jansa <Martin.Jansa@gmail.com>
Thu, 10 Jun 2010 19:49:37 +0000 (21:49 +0200)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/opkg-utils/opkg-utils-native_svn.bb [deleted file]
recipes/opkg-utils/opkg-utils_svn.bb

diff --git a/recipes/opkg-utils/opkg-utils-native_svn.bb b/recipes/opkg-utils/opkg-utils-native_svn.bb
deleted file mode 100644 (file)
index b670378..0000000
+++ /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"
-
index bb404a6..f127c27 100644 (file)
@@ -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
-}