summaryrefslogtreecommitdiff
path: root/mtd/mtd.oe
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-10-14 19:18:17 +0000
committerChris Larson <clarson@kergoth.com>2003-10-14 19:18:17 +0000
commitd5c08baedc06114af1fb4097564497e2fc6e4460 (patch)
tree672e7432f512bda05b9c31a38e87a44f5d887ec6 /mtd/mtd.oe
parent6c8f3a3dbfa05db632848a62156c00ecc7f8e560 (diff)
Add zlib & libc to mtd deps, and update to current debian patch for ifupdown.
BKrev: 3f8c4bf9SltWM6nwmuM3czH-0hLjdA
Diffstat (limited to 'mtd/mtd.oe')
-rw-r--r--mtd/mtd.oe19
1 files changed, 19 insertions, 0 deletions
diff --git a/mtd/mtd.oe b/mtd/mtd.oe
index e69de29bb2..7f06163305 100644
--- a/mtd/mtd.oe
+++ b/mtd/mtd.oe
@@ -0,0 +1,19 @@
+DEPENDS = virtual/libc zlib
+RDEPENDS = libc6 zlib1g
+PV = ${@os.popen("date +%Y%m%d").readline().strip()}
+
+S = ${WORKDIR}/mtd/util
+SRC_URI = cvs://anoncvs:anoncvs@cvs.infradead.org/home/cvs;module=mtd
+
+CFLAGS_prepend = "-I${S}/../include "
+CPPFLAGS_prepend = "-I${S}/../include "
+CXXFLAGS_prepend = "-I${S}/../include "
+
+do_install () {
+ install -d ${D}/usr/bin
+ for binary in ftl_format erase eraseall nanddump doc_loadbios \
+ mkfs.jffs ftl_check mkfs.jffs2 lock unlock einfo mtd_debug \
+ fcp nandwrite jffs2dump; do
+ install -m 0755 $binary ${D}/usr/bin/
+ done
+}