diff options
author | Leon Woestenberg <leon.woestenberg@gmail.com> | 2007-09-07 11:41:01 +0000 |
---|---|---|
committer | Leon Woestenberg <leon.woestenberg@gmail.com> | 2007-09-07 11:41:01 +0000 |
commit | 542484b6578a337b5a61fac89b0c6c9b3ca75225 (patch) | |
tree | dadae638a319b993f94ed30d6d1a5bdfe129196d /packages/memdev2 | |
parent | 0934f4de40076204e0416a93c3f9fb9b3931f376 (diff) |
devmem2: Simple program to read/write from/to any location in memory.
Diffstat (limited to 'packages/memdev2')
-rw-r--r-- | packages/memdev2/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/memdev2/memdev2_1.0.0.bb | 16 |
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}/ +} |