summaryrefslogtreecommitdiff
path: root/packages/mtd/mtd-utils-native.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/mtd/mtd-utils-native.inc')
-rw-r--r--packages/mtd/mtd-utils-native.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/mtd/mtd-utils-native.inc b/packages/mtd/mtd-utils-native.inc
index da9759f02f..8ac4673524 100644
--- a/packages/mtd/mtd-utils-native.inc
+++ b/packages/mtd/mtd-utils-native.inc
@@ -3,8 +3,12 @@ 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
}
- \ No newline at end of file
+