summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Woestenberg <leon.woestenberg@gmail.com>2007-09-07 11:41:01 +0000
committerLeon Woestenberg <leon.woestenberg@gmail.com>2007-09-07 11:41:01 +0000
commit542484b6578a337b5a61fac89b0c6c9b3ca75225 (patch)
treedadae638a319b993f94ed30d6d1a5bdfe129196d
parent0934f4de40076204e0416a93c3f9fb9b3931f376 (diff)
devmem2: Simple program to read/write from/to any location in memory.
-rw-r--r--packages/memdev2/.mtn2git_empty0
-rw-r--r--packages/memdev2/memdev2_1.0.0.bb16
2 files changed, 16 insertions, 0 deletions
diff --git a/packages/memdev2/.mtn2git_empty b/packages/memdev2/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/memdev2/.mtn2git_empty
diff --git a/packages/memdev2/memdev2_1.0.0.bb b/packages/memdev2/memdev2_1.0.0.bb
new file mode 100644
index 0000000000..5476069e5b
--- /dev/null
+++ b/packages/memdev2/memdev2_1.0.0.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "Tool to read and write to arbitrary memory locations"
+LICENSE = "GPL"
+PR = "r0"
+
+SRC_URI="http://free-electrons.com/pub/mirror/devmem2.c"
+
+S = "${WORKDIR}"
+
+do_compile () {
+ ${CC} -o devmem2 devmem2.c
+}
+
+do_install () {
+ install -d ${D}${sbindir}
+ install -m 0755 devmem2 ${D}${sbindir}/
+}