diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-devtools/yaffs2/yaffs2-utils.inc | |
parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
download | poky-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.inc | 27 |
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 @@ | |||
1 | DESCRIPTION = "Tools for managing 'yaffs2' file systems." | ||
2 | SECTION = "base" | ||
3 | HOMEPAGE = "http://www.yaffs.net" | ||
4 | LICENSE = "GPLv2" | ||
5 | PV = "0.0.0+cvs${SRCDATE}" | ||
6 | PR = "r0" | ||
7 | DEPENDS = "mtd-utils" | ||
8 | |||
9 | SRC_URI = "cvs://anonymous@cvs.aleph1.co.uk/home/aleph1/cvs;module=yaffs2 \ | ||
10 | file://mkyaffs2image.patch;patch=1" | ||
11 | S = "${WORKDIR}/yaffs2" | ||
12 | |||
13 | CFLAGS += "-I.. -DCONFIG_YAFFS_UTIL" | ||
14 | CFLAGS_append_virtclass-native = " -I.. -DCONFIG_YAFFS_UTIL" | ||
15 | |||
16 | do_compile() { | ||
17 | cd utils && oe_runmake | ||
18 | } | ||
19 | |||
20 | do_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 | |||
27 | BBCLASSEXTEND = "native" | ||