summaryrefslogtreecommitdiffstats
path: root/meta/packages/mtd/mtd-utils-native.inc
blob: 01337697ef3376fdb394e9a1bb14710ad04bcffa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
inherit native
DEPENDS = "zlib-native lzo-native"

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
}