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.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/mtd/mtd-utils-native.inc b/packages/mtd/mtd-utils-native.inc
new file mode 100644
index 0000000000..edccb2bb5d
--- /dev/null
+++ b/packages/mtd/mtd-utils-native.inc
@@ -0,0 +1,10 @@
+inherit native
+DEPENDS = "zlib-native"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/mtd-utils"
+
+do_stage () {
+ for binary in ${mtd_utils}; do
+ install -m 0755 $binary ${STAGING_BINDIR}
+ done
+}
+ \ No newline at end of file