summaryrefslogtreecommitdiff
path: root/packages/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'packages/mtd')
-rw-r--r--packages/mtd/mtd-native_20041113.bb14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/mtd/mtd-native_20041113.bb b/packages/mtd/mtd-native_20041113.bb
index e69de29bb2..0cecc710ba 100644
--- a/packages/mtd/mtd-native_20041113.bb
+++ b/packages/mtd/mtd-native_20041113.bb
@@ -0,0 +1,14 @@
+LICENSE = "GPLv2"
+SECTION = "base"
+include mtd_${PV}.bb
+inherit native
+DEPENDS = "patcher-native zlib-native"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/mtd"
+
+do_stage () {
+ for binary in 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 -m 0755 util/$binary ${STAGING_BINDIR}/
+ done
+}