summaryrefslogtreecommitdiff
path: root/recipes/devmem2/devmem2.bb
blob: 143883afea7fa3c4da6765a222ccd3d9ff1d9fa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
DESCRIPTION = "Simple program to read/write from/to any location in memory."
SRC_URI = "http://www.lartmaker.nl/lartware/port/devmem2.c"
LICENSE = "GPL"
PR = "r1"

S = "${WORKDIR}"

do_compile() {
	${CC} -o devmem2 devmem2.c ${CFLAGS} ${LDFLAGS}
}

do_install() {
	install -d ${D}${bindir}
	install devmem2 ${D}${bindir}
}