diff options
Diffstat (limited to 'meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb')
-rw-r--r-- | meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb new file mode 100644 index 000000000..0e1e460b6 --- /dev/null +++ b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | SUMMARY = "Yet Another Flash File System" | ||
2 | DESCRIPTION = "Tools for managing 'yaffs2' file systems." | ||
3 | |||
4 | SECTION = "base" | ||
5 | HOMEPAGE = "http://www.yaffs.net" | ||
6 | |||
7 | LICENSE = "GPLv2" | ||
8 | LIC_FILES_CHKSUM = "file://utils/mkyaffs2image.c;beginline=12;endline=14;md5=5f5464f9b3e981ca574e65b00e438561" | ||
9 | |||
10 | PV = "0.0+git${SRCPV}" | ||
11 | |||
12 | DEPENDS = "mtd-utils" | ||
13 | |||
14 | # Source is the HEAD of master branch at the time of writing this recipe | ||
15 | SRC_URI = "git://www.aleph1.co.uk/yaffs2;protocol=git;branch=master" | ||
16 | SRCREV = "bc76682d93955cfb33051beb503ad9f8a5450578" | ||
17 | S = "${WORKDIR}/git" | ||
18 | |||
19 | CFLAGS_append = " -I.. -DCONFIG_YAFFS_UTIL -DCONFIG_YAFFS_DEFINES_TYPES" | ||
20 | |||
21 | do_compile() { | ||
22 | cd utils && oe_runmake | ||
23 | } | ||
24 | |||
25 | INSTALL_FILES = "mkyaffsimage \ | ||
26 | mkyaffs2image \ | ||
27 | " | ||
28 | do_install() { | ||
29 | install -d ${D}${sbindir}/ | ||
30 | for i in ${INSTALL_FILES}; do | ||
31 | install -m 0755 utils/$i ${D}${sbindir}/ | ||
32 | done | ||
33 | } | ||
34 | |||
35 | BBCLASSEXTEND = "native" | ||