summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}/
+}