summaryrefslogtreecommitdiff
path: root/mtd/mtd-native.oe
blob: ed32e7e08f89baa95feb2a7c609da52f2bdbdd9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
include mtd.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
}