cramfs: remove -native recipe, replace with BBCLASSEXTEND
authorRoman I Khimov <khimov@altell.ru>
Thu, 5 Aug 2010 17:30:45 +0000 (21:30 +0400)
committerRoman I Khimov <khimov@altell.ru>
Thu, 5 Aug 2010 17:43:22 +0000 (21:43 +0400)
Removes another do_stage instance along the way.

Signed-off-by: Roman I Khimov <khimov@altell.ru>
recipes/cramfs/cramfs-native_1.1.bb [deleted file]
recipes/cramfs/cramfs_1.1.bb

diff --git a/recipes/cramfs/cramfs-native_1.1.bb b/recipes/cramfs/cramfs-native_1.1.bb
deleted file mode 100644 (file)
index e3e2df5..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/cramfs"
-
-DESCRIPTION="Builds cramfs filesystems for embedded systems"
-SECTION = "base"
-LICENSE="GPL"
-
-PR = "r1"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/cramfs/cramfs-1.1.tar.gz \
-       file://makefile.patch \
-       file://cramfs-andersee.patch"
-
-DEPENDS = "zlib-native"
-
-S = "${WORKDIR}/cramfs-${PV}"
-
-inherit native
-
-do_compile() {
-       oe_runmake all
-}
-
-do_stage() {
-       install -m 755 mkcramfs ${STAGING_BINDIR}
-       install -m 755 cramfsck ${STAGING_BINDIR}
-}
-
-
-SRC_URI[md5sum] = "d3912b9f7bf745fbfea68f6a9b9de30f"
-SRC_URI[sha256sum] = "133caca2c4e7c64106555154ee0ff693f5cf5beb9421ce2eb86baee997d22368"
index 2a08477..bb6fb51 100644 (file)
@@ -7,6 +7,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/cramfs/cramfs-1.1.tar.gz \
        file://makefile.patch \
        file://cramfs-andersee.patch"
 
+BBCLASSEXTEND = "native"
+
 do_compile() {
        oe_runmake
 }
@@ -17,6 +19,7 @@ do_install() {
        install cramfsck ${D}${bindir}
 }
 
+NATIVE_INSTALL_WORKS = "1"
 
 SRC_URI[md5sum] = "d3912b9f7bf745fbfea68f6a9b9de30f"
 SRC_URI[sha256sum] = "133caca2c4e7c64106555154ee0ff693f5cf5beb9421ce2eb86baee997d22368"