cramfs: add cvs version
authorChris Larson <chris_larson@mentor.com>
Mon, 10 Jan 2011 20:07:25 +0000 (13:07 -0700)
committerChris Larson <chris_larson@mentor.com>
Mon, 10 Jan 2011 20:09:03 +0000 (13:09 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
recipes/cramfs/cramfs_cvs.bb [new file with mode: 0644]

diff --git a/recipes/cramfs/cramfs_cvs.bb b/recipes/cramfs/cramfs_cvs.bb
new file mode 100644 (file)
index 0000000..812f3f1
--- /dev/null
@@ -0,0 +1,24 @@
+DESCRIPTION = "Builds cramfs filesystems for embedded systems"
+LICENSE = "GPLv2"
+DEPENDS = "zlib"
+SRCDATE = "20110110"
+PV = "1.1+cvs${SRCDATE}"
+
+SRC_URI = "cvs://anonymous@cramfs.cvs.sourceforge.net/cvsroot/cramfs;module=linux"
+S = "${WORKDIR}/linux/scripts/cramfs"
+
+EXTRA_OEMAKE = "\
+    'CC=${CC}' \
+    'CFLAGS=${CFLAGS}' \
+    'LDFLAGS=${LDFLAGS}' \
+"
+
+BBCLASSEXTEND = "native"
+
+do_install() {
+       install -d ${D}${bindir}
+       install mkcramfs ${D}${bindir}
+       install cramfsck ${D}${bindir}
+}
+
+NATIVE_INSTALL_WORKS = "1"