aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2011-01-10 13:07:25 -0700
committerChris Larson <chris_larson@mentor.com>2011-01-10 13:09:03 -0700
commite0728e428367d5534d6a56e452487529c5ec4918 (patch)
treea68bbec97d6dbc3c2e6cee89d487ab68e3c5b074
parent89fb37db1d556774007b8123645fe70781ce8d01 (diff)
downloadopenembedded-e0728e428367d5534d6a56e452487529c5ec4918.zip
openembedded-e0728e428367d5534d6a56e452487529c5ec4918.tar.gz
openembedded-e0728e428367d5534d6a56e452487529c5ec4918.tar.bz2
cramfs: add cvs version
Signed-off-by: Chris Larson <chris_larson@mentor.com>
-rw-r--r--recipes/cramfs/cramfs_cvs.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/cramfs/cramfs_cvs.bb b/recipes/cramfs/cramfs_cvs.bb
new file mode 100644
index 0000000..812f3f1
--- /dev/null
+++ b/recipes/cramfs/cramfs_cvs.bb
@@ -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"