summaryrefslogtreecommitdiff
path: root/mtd/mtd.oe
diff options
context:
space:
mode:
Diffstat (limited to 'mtd/mtd.oe')
-rw-r--r--mtd/mtd.oe11
1 files changed, 8 insertions, 3 deletions
diff --git a/mtd/mtd.oe b/mtd/mtd.oe
index facecd00b2..5fc2034e56 100644
--- a/mtd/mtd.oe
+++ b/mtd/mtd.oe
@@ -3,18 +3,23 @@ RDEPENDS = "libc6 zlib1g"
DESCRIPTION = "Tools for managing memory technology devices."
PV = "${CVSDATE}"
-S = "${WORKDIR}/mtd/util"
-SRC_URI = "cvs://anoncvs:anoncvs@cvs.infradead.org/home/cvs;module=mtd"
+S = "${WORKDIR}/mtd/"
+SRC_URI = "cvs://anoncvs:anoncvs@cvs.infradead.org/home/cvs;module=mtd \
+ file://${FILESDIR}/stdint.patch;patch=1;pnum=0"
CFLAGS_prepend = "-I${S}/../include "
CPPFLAGS_prepend = "-I${S}/../include "
CXXFLAGS_prepend = "-I${S}/../include "
+do_compile () {
+ oe_runmake -C util
+}
+
do_install () {
install -d ${D}${bindir}
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}${bindir}
+ install -m 0755 util/$binary ${D}${bindir}
done
}