diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-11-07 10:06:36 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-11-07 10:06:36 +0000 |
commit | b1d86e4aaa2b1614d560309d35338216bf8c58c0 (patch) | |
tree | 46d02536f2d8093418a04d6bc014dee0d2d55224 /meta/packages/yaffs2/yaffs2-utils_cvs.bb | |
parent | b5fda834416809a5348f6f5e21ddaeb484c4cdc8 (diff) | |
download | openembedded-core-b1d86e4aaa2b1614d560309d35338216bf8c58c0.tar.gz openembedded-core-b1d86e4aaa2b1614d560309d35338216bf8c58c0.tar.bz2 openembedded-core-b1d86e4aaa2b1614d560309d35338216bf8c58c0.zip |
yaffs2-utils: added from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3085 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/yaffs2/yaffs2-utils_cvs.bb')
-rw-r--r-- | meta/packages/yaffs2/yaffs2-utils_cvs.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/packages/yaffs2/yaffs2-utils_cvs.bb b/meta/packages/yaffs2/yaffs2-utils_cvs.bb new file mode 100644 index 0000000000..439136e2eb --- /dev/null +++ b/meta/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 +} |