diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
commit | 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch) | |
tree | a21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-oe/recipes-support/devmem2/devmem2.bb | |
download | meta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-support/devmem2/devmem2.bb')
-rw-r--r-- | meta-oe/recipes-support/devmem2/devmem2.bb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/devmem2/devmem2.bb b/meta-oe/recipes-support/devmem2/devmem2.bb new file mode 100644 index 000000000..e48cc9210 --- /dev/null +++ b/meta-oe/recipes-support/devmem2/devmem2.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | SUMMARY = "Simple program to read/write from/to any location in memory" | ||
2 | LICENSE = "GPLv2+" | ||
3 | LIC_FILES_CHKSUM = "file://devmem2.c;endline=28;md5=dd68f2b0a5184b3db3dc25c99e0bd0cd" | ||
4 | PR = "r7" | ||
5 | |||
6 | SRC_URI = "http://www.lartmaker.nl/lartware/port/devmem2.c \ | ||
7 | file://devmem2-fixups-2.patch;apply=yes;striplevel=0" | ||
8 | S = "${WORKDIR}" | ||
9 | |||
10 | CFLAGS += "-DFORCE_STRICT_ALIGNMENT" | ||
11 | |||
12 | do_compile() { | ||
13 | ${CC} -o devmem2 devmem2.c ${CFLAGS} ${LDFLAGS} | ||
14 | } | ||
15 | |||
16 | do_install() { | ||
17 | install -d ${D}${bindir} | ||
18 | install devmem2 ${D}${bindir} | ||
19 | } | ||
20 | |||
21 | SRC_URI[md5sum] = "be12c0132a1ae118cbf5e79d98427c1d" | ||
22 | SRC_URI[sha256sum] = "ec382c90af3ef2f49695ff14a4d6521e58ac482c4e29d6c9ebca8768f699c191" | ||