summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes/mtd/mtd-utils-static_1.2.0+git.bb15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/mtd/mtd-utils-static_1.2.0+git.bb b/recipes/mtd/mtd-utils-static_1.2.0+git.bb
new file mode 100644
index 0000000000..fbabc4e45e
--- /dev/null
+++ b/recipes/mtd/mtd-utils-static_1.2.0+git.bb
@@ -0,0 +1,15 @@
+
+require mtd-utils_1.2.0+git.bb
+
+FILESPATHPKG =. "mtd-utils:"
+
+PR = "r1"
+
+EXTRA_OEMAKE = "'CC=${CC}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR -static'"
+
+do_install () {
+ install -d ${D}${bindir}
+ install -d ${D}${includedir}/mtd
+ install -m 0755 ${S}/nandwrite ${D}${bindir}/nandwrite.static
+}
+