summaryrefslogtreecommitdiff
path: root/packages/yaffs2/yaffs2-utils_cvs.bb
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-09-11 16:52:27 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-09-11 16:52:27 +0000
commit4d5b429bca6e2a6bfb2b36dc8ad8bb38b78b2429 (patch)
tree186a1f825cb66a8ee8cbe262e06bba11ae5fc7d3 /packages/yaffs2/yaffs2-utils_cvs.bb
parentf56148af04529554908eb3af1d616b51266ebd1a (diff)
parent9c68f8a0ada21051d514fd158e0da531c0a602e8 (diff)
merge of '41bc7cd136be3eabb67bde38705e491f649cd322'
and 'cb02b3f58dbbe96a4730fcb455585ec97277014a'
Diffstat (limited to 'packages/yaffs2/yaffs2-utils_cvs.bb')
-rw-r--r--packages/yaffs2/yaffs2-utils_cvs.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/yaffs2/yaffs2-utils_cvs.bb b/packages/yaffs2/yaffs2-utils_cvs.bb
new file mode 100644
index 0000000000..439136e2eb
--- /dev/null
+++ b/packages/yaffs2/yaffs2-utils_cvs.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "Tools for managing 'yaffs2' file systems."
+SECTION = "base"
+HOMEPAGE = "http://www.yaffs.net"
+LICENSE = "GPLv2"
+PV = "0.0.0+cvs${SRCDATE}"
+PR = "r0"
+
+#
+# NOTE: This needs pretty recent mtd-utils otherwise it fails to compile
+#
+
+SRC_URI = "cvs://anonymous@cvs.aleph1.co.uk/home/aleph1/cvs;module=yaffs2 \
+ file://mkyaffs2image.patch;patch=1"
+S = "${WORKDIR}/yaffs2"
+
+CFLAGS += "-I.. -DCONFIG_YAFFS_UTIL"
+
+do_compile() {
+ cd utils && oe_runmake
+}
+
+do_install() {
+ install -d ${D}${sbindir}
+ for i in mkyaffsimage mkyaffs2image; do
+ install -m 0755 utils/$i ${D}${sbindir}
+ done
+}