summaryrefslogtreecommitdiffstats
path: root/meta/packages/mtd/mtd-utils-native.inc
blob: 8ac4673524df21eae0d789bdbbedb442b5770426 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
inherit native
DEPENDS = "zlib-native lzo-native"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/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
        for binary in ${mtd_utils}; do
                install -m 0755 $binary ${STAGING_BINDIR}
        done
}