summaryrefslogtreecommitdiff
path: root/recipes/pxaregs/pxaregs_1.14.bb
blob: d57dacef51facf95eca5f5ef016fc44fc2de88f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DESCRIPTION = "Tool to display and modify PXA registers at runtime"
LICENSE = "GPLv2"
AUTHOR = "Holger Schurig <hs4233@mail.mn-solutions.de>"
HOMEPAGE = "http://www.mn-logistik.de/unsupported/pxa250/"

SRC_URI = "http://www.mn-logistik.de/unsupported/pxa250/pxaregs.c \
           file://i2c.patch;pnum=1;patch=1 \
           file://munmap.patch;pnum=1;patch=1 \
           file://serial.patch;pnum=1;patch=1 \
           file://usb.patch;pnum=1;patch=1 "

S = "${WORKDIR}"

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

do_install() {
	install -d ${D}${sbindir}/
	install -m 0755 pxaregs ${D}${sbindir}/
}