summaryrefslogtreecommitdiff
path: root/recipes/mtd/mtd-utils_1.0.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mtd/mtd-utils_1.0.0.bb')
-rw-r--r--recipes/mtd/mtd-utils_1.0.0.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/mtd/mtd-utils_1.0.0.bb b/recipes/mtd/mtd-utils_1.0.0.bb
new file mode 100644
index 0000000000..0ebb47fb22
--- /dev/null
+++ b/recipes/mtd/mtd-utils_1.0.0.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Tools for managing memory technology devices."
+SECTION = "base"
+DEPENDS = "zlib"
+HOMEPAGE = "http://www.linux-mtd.infradead.org/"
+LICENSE = "GPLv2"
+PR = "r0"
+
+# RP/kergoth: Builds seem to break with recent mtd-utils
+# Can't pin down the exact problems
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI = "ftp://ftp.infradead.org/pub/mtd-utils/mtd-utils-1.0.0.tar.gz"
+S = "${WORKDIR}/mtd-utils-${PV}"
+
+CFLAGS_prepend = "-I${WORKDIR}/mtd-utils-${PV}/include "
+
+do_install() {
+ oe_runmake install DESTDIR=${D}
+}