cramfs: Adds cvs version recipe (initial recipe)
authorImran Mehmood <Imran_Mehmood@mentor.com>
Thu, 8 Sep 2011 22:32:41 +0000 (22:32 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:14:55 +0000 (08:14 -0800)
* Imported from oe.dev commit id e0728e428367d5534d6a56e452487529c5ec4918
* Added do_compile_prepend to make symbolic link named Makefile pointing to GNUmakefile to resolve missing Makefile error.

(From meta-openembedded rev: e5340d912c01eb2f0b6cbe0fb174839818a8a665)

Signed-off-by: Imran Mehmood <Imran_Mehmood@mentor.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-support/cramfs/cramfs_cvs.bb [new file with mode: 0644]

diff --git a/meta-openembedded/meta-oe/recipes-support/cramfs/cramfs_cvs.bb b/meta-openembedded/meta-oe/recipes-support/cramfs/cramfs_cvs.bb
new file mode 100644 (file)
index 0000000..667097c
--- /dev/null
@@ -0,0 +1,29 @@
+DESCRIPTION = "Builds cramfs filesystems for embedded systems"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://${WORKDIR}/linux/COPYING;md5=9579385572eb40eded61dcb07e0038a4"
+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}' \
+"
+
+
+do_compile_prepend() {
+        ln -s GNUmakefile Makefile
+}
+
+do_install() {
+       install -d ${D}${bindir}
+       install mkcramfs ${D}${bindir}
+       install cramfsck ${D}${bindir}
+}
+
+BBCLASSEXTEND = "native"
+