summaryrefslogtreecommitdiff
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
parent6c8f3a3dbfa05db632848a62156c00ecc7f8e560 (diff)
Add zlib & libc to mtd deps, and update to current debian patch for ifupdown.
BKrev: 3f8c4bf9SltWM6nwmuM3czH-0hLjdA
-rw-r--r--ifupdown/ifupdown-0.6.4.oe2
-rw-r--r--mtd/mtd.oe19
2 files changed, 20 insertions, 1 deletions
diff --git a/ifupdown/ifupdown-0.6.4.oe b/ifupdown/ifupdown-0.6.4.oe
index 36825cc70e..a86aa71159 100644
--- a/ifupdown/ifupdown-0.6.4.oe
+++ b/ifupdown/ifupdown-0.6.4.oe
@@ -6,7 +6,7 @@ DESCRIPTION = High level tools to configure network interfaces\
the file /etc/network/interfaces.
SRC_URI = ${DEBIAN_MIRROR}/main/i/${PN}/${PN}_${PV}.orig.tar.gz \
- ${DEBIAN_MIRROR}/main/i/${PN}/${PN}_${PV}-4.4.diff.gz;patch=1 \
+ ${DEBIAN_MIRROR}/main/i/${PN}/${PN}_${PV}-4.6.diff.gz;patch=1 \
file://${FILESDIR}/busybox.patch;patch=1 \
file://${FILESDIR}/udhcpc.patch;patch=1 \
file://${FILESDIR}/zeroconf.patch;patch=1
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
+}