summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2010-04-22 16:44:17 -0500
committerJesse Gilles <jgilles@multitech.com>2010-04-26 11:53:13 -0500
commit8139bc6bb5a301e872f79aec791300aab42b5512 (patch)
tree83fffa8df21f2002ea3f5dea80c5940af32ab08a
parent5fd4e57da36d1c33e9b2bc86c5f6d9791c30aff2 (diff)
add mtd-utils-static
-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
+}
+