summaryrefslogtreecommitdiff
path: root/recipes/mtd/mtd-utils-native.inc
blob: 28696b46d5a45ed4ebf1740669b01271c273c7e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
}