fix mtd-native including mtd.oe
authorMichael Lauer <mickey@vanille-media.de>
Fri, 18 Jun 2004 19:46:19 +0000 (19:46 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Fri, 18 Jun 2004 19:46:19 +0000 (19:46 +0000)
BKrev: 40d3468bfK9EEttkJP5gM2Sl6Mu72w

mtd/mtd-native_20040614.oe

index e69de29..30978bb 100644 (file)
@@ -0,0 +1,12 @@
+include mtd-${PV}.oe
+inherit native
+DEPENDS = "patcher-native zlib-native"
+FILESDIR = "${@os.path.dirname(oe.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
+}