summaryrefslogtreecommitdiffstats
path: root/meta/packages/mtd/mtd-utils_20060223.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/mtd/mtd-utils_20060223.bb')
-rw-r--r--meta/packages/mtd/mtd-utils_20060223.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/packages/mtd/mtd-utils_20060223.bb b/meta/packages/mtd/mtd-utils_20060223.bb
new file mode 100644
index 0000000000..21d0f21fcd
--- /dev/null
+++ b/meta/packages/mtd/mtd-utils_20060223.bb
@@ -0,0 +1,36 @@
1DESCRIPTION = "Tools for managing memory technology devices."
2SECTION = "base"
3DEPENDS = "zlib"
4HOMEPAGE = "http://www.linux-mtd.infradead.org/"
5LICENSE = "GPLv2"
6PR = "r0"
7SRCDATE = "${PV}"
8
9SRC_URI = "cvs://anoncvs:anoncvs@cvs.infradead.org/home/cvs;module=mtd \
10 file://add-exclusion-to-mkfs-jffs2-20060131.patch;patch=1 \
11 file://fix-ignoreerrors-20060131.patch;patch=1"
12S = "${WORKDIR}/mtd/"
13
14CFLAGS_prepend = "-I${S}/include "
15
16do_compile () {
17 oe_runmake -C util ${mtd_utils}
18}
19
20do_stage () {
21 install -d ${STAGING_INCDIR}/mtd
22 for f in ${S}/include/mtd/*.h; do
23 install -m 0644 $f ${STAGING_INCDIR}/mtd/
24 done
25}
26
27mtd_utils = "ftl_format flash_erase flash_eraseall nanddump doc_loadbios \
28 mkfs.jffs ftl_check mkfs.jffs2 flash_lock flash_unlock flash_info mtd_debug \
29 flashcp nandwrite jffs2dump sumtool"
30
31do_install () {
32 install -d ${D}${bindir}
33 for binary in ${mtd_utils}; do
34 install -m 0755 util/$binary ${D}${bindir}
35 done
36}