diff options
author | Rene Wagner <rw@handhelds.org> | 2005-08-17 18:22:44 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-08-17 18:22:44 +0000 |
commit | b2f3f8cc7f674402dae1e325a44d44615295fd0d (patch) | |
tree | b26814fa84abd7bc7a1e9fedec2c7e947b2a0dd3 /packages/mtd/mtd-utils_20050801.bb | |
parent | a098af2fcdd0a2cdefd7049cdc12a5fda8e46638 (diff) | |
parent | c355755e38003a906085114be463792fd9de4ff8 (diff) |
merge of 885d90470dc44f85332ae3b62f38a1f1cf91b4c5
and c9530ced58773f4fa9498d173533e73615774c22
Diffstat (limited to 'packages/mtd/mtd-utils_20050801.bb')
-rw-r--r-- | packages/mtd/mtd-utils_20050801.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/packages/mtd/mtd-utils_20050801.bb b/packages/mtd/mtd-utils_20050801.bb new file mode 100644 index 0000000000..bfc78c19ea --- /dev/null +++ b/packages/mtd/mtd-utils_20050801.bb @@ -0,0 +1,35 @@ +DESCRIPTION = "Tools for managing memory technology devices." +SECTION = "base" +DEPENDS = "zlib" +HOMEPAGE = "http://www.linux-mtd.infradead.org/" +LICENSE = "GPLv2" +PR = "r0" + +SRC_URI = "ftp://ftp.uk.linux.org/pub/people/dwmw2/mtd/cvs/mtd-snapshot-${PV}.tar.bz2 \ + file://add-exclusion-to-mkfs-jffs2.patch;patch=1 \ + file://more-verbosity.patch;patch=1" +S = "${WORKDIR}/mtd/" + +CFLAGS_prepend = "-I${S}/include " + +do_compile () { + oe_runmake -C util ${mtd_utils} +} + +do_stage () { + install -d ${STAGING_INCDIR}/mtd + for f in ${S}/include/mtd/*.h; do + install -m 0644 $f ${STAGING_INCDIR}/mtd/ + done +} + +mtd_utils = "ftl_format flash_erase flash_eraseall nanddump doc_loadbios \ + mkfs.jffs ftl_check mkfs.jffs2 flash_lock flash_unlock flash_info mtd_debug \ + flashcp nandwrite jffs2dump" + +do_install () { + install -d ${D}${bindir} + for binary in ${mtd_utils}; do + install -m 0755 util/$binary ${D}${bindir} + done +} |