summaryrefslogtreecommitdiff
path: root/recipes/cramfs
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-08-05 21:30:45 +0400
committerRoman I Khimov <khimov@altell.ru>2010-08-05 21:43:22 +0400
commitd4171d825e7799d8fa990f6d217abe9e861bdeb8 (patch)
tree3af93ef0e1775fe45b6dc04835913d7a9233f979 /recipes/cramfs
parent35655a4dcb745596697829a63e1471eef2f81c7a (diff)
cramfs: remove -native recipe, replace with BBCLASSEXTEND
Removes another do_stage instance along the way. Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/cramfs')
-rw-r--r--recipes/cramfs/cramfs-native_1.1.bb30
-rw-r--r--recipes/cramfs/cramfs_1.1.bb3
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 e3e2df557d..0000000000
--- 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 2a08477ad4..bb6fb51bd6 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"