[oe-commits] Imran Mehmood : cramfs: Adds cvs version recipe (initial recipe)
git version control
git at git.openembedded.org
Wed Sep 14 11:05:07 UTC 2011
Module: meta-openembedded.git
Branch: master
Commit: e5340d912c01eb2f0b6cbe0fb174839818a8a665
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=e5340d912c01eb2f0b6cbe0fb174839818a8a665
Author: Imran Mehmood <Imran_Mehmood at mentor.com>
Date: Thu Sep 8 22:32:41 2011 +0000
cramfs: Adds cvs version recipe (initial recipe)
* 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.
Signed-off-by: Imran Mehmood <Imran_Mehmood at mentor.com>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
meta-oe/recipes-support/cramfs/cramfs_cvs.bb | 29 ++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/meta-oe/recipes-support/cramfs/cramfs_cvs.bb b/meta-oe/recipes-support/cramfs/cramfs_cvs.bb
new file mode 100644
index 0000000..667097c
--- /dev/null
+++ b/meta-oe/recipes-support/cramfs/cramfs_cvs.bb
@@ -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"
+
More information about the Openembedded-commits
mailing list