summaryrefslogtreecommitdiff
path: root/mtd/mtd-native.oe
blob: 2fbdc49095e44d573e94825689d6cd6e53ff6ff5 (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 erase eraseall nanddump doc_loadbios \
		mkfs.jffs ftl_check mkfs.jffs2 lock unlock einfo mtd_debug \
		fcp nandwrite jffs2dump; do
		install -m 0755 util/$binary ${STAGING_BINDIR}/
	done
}