summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/yaffs2/yaffs2-utils.inc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-09-01 19:09:11 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-09-01 19:09:57 +0100
commitd62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch)
treef36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-devtools/yaffs2/yaffs2-utils.inc
parentcaab7fc509bf27706ff3248689f6afd04225cfda (diff)
downloadpoky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/yaffs2/yaffs2-utils.inc')
-rw-r--r--meta/recipes-devtools/yaffs2/yaffs2-utils.inc27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-devtools/yaffs2/yaffs2-utils.inc b/meta/recipes-devtools/yaffs2/yaffs2-utils.inc
new file mode 100644
index 0000000000..b25cc3b590
--- /dev/null
+++ b/meta/recipes-devtools/yaffs2/yaffs2-utils.inc
@@ -0,0 +1,27 @@
1DESCRIPTION = "Tools for managing 'yaffs2' file systems."
2SECTION = "base"
3HOMEPAGE = "http://www.yaffs.net"
4LICENSE = "GPLv2"
5PV = "0.0.0+cvs${SRCDATE}"
6PR = "r0"
7DEPENDS = "mtd-utils"
8
9SRC_URI = "cvs://anonymous@cvs.aleph1.co.uk/home/aleph1/cvs;module=yaffs2 \
10 file://mkyaffs2image.patch;patch=1"
11S = "${WORKDIR}/yaffs2"
12
13CFLAGS += "-I.. -DCONFIG_YAFFS_UTIL"
14CFLAGS_append_virtclass-native = " -I.. -DCONFIG_YAFFS_UTIL"
15
16do_compile() {
17 cd utils && oe_runmake
18}
19
20do_install() {
21 install -d ${D}${sbindir}/
22 for i in mkyaffsimage mkyaffs2image; do
23 install -m 0755 utils/$i ${D}${sbindir}/
24 done
25}
26
27BBCLASSEXTEND = "native"