[oe-commits] Roman I Khimov : cramfs: remove -native recipe, replace with BBCLASSEXTEND
git version control
git at git.openembedded.org
Thu Aug 5 17:43:37 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: d4171d825e7799d8fa990f6d217abe9e861bdeb8
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d4171d825e7799d8fa990f6d217abe9e861bdeb8
Author: Roman I Khimov <khimov at altell.ru>
Date: Thu Aug 5 21:30:45 2010 +0400
cramfs: remove -native recipe, replace with BBCLASSEXTEND
Removes another do_stage instance along the way.
Signed-off-by: Roman I Khimov <khimov at altell.ru>
---
recipes/cramfs/cramfs-native_1.1.bb | 30 ------------------------------
recipes/cramfs/cramfs_1.1.bb | 3 +++
2 files changed, 3 insertions(+), 30 deletions(-)
diff --git a/recipes/cramfs/cramfs-native_1.1.bb b/recipes/cramfs/cramfs-native_1.1.bb
deleted file mode 100644
index e3e2df5..0000000
--- a/recipes/cramfs/cramfs-native_1.1.bb
+++ /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"
diff --git a/recipes/cramfs/cramfs_1.1.bb b/recipes/cramfs/cramfs_1.1.bb
index 2a08477..bb6fb51 100644
--- a/recipes/cramfs/cramfs_1.1.bb
+++ b/recipes/cramfs/cramfs_1.1.bb
@@ -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"
More information about the Openembedded-commits
mailing list