aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/samsung-soc-utils/s3c64xx-gpio_svn.bb
blob: 96285e9444d1294c03a198a7d27c76ad3cfe8e57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DESCRIPTION = "A user-space tool to show and modify the state of GPIOs on the S3c64xx platform"
SECTION = "console/utils"
AUTHOR = "Werner Almesberger <werner@openmoko.org>"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://gpio-s3c6410.c;endline=12;md5=060cda1be945ad9194593f11d56d55c7"
SRCREV = "4949"
PV = "1.0+svnr${SRCPV}"
PR = "r0"

SRC_URI = "svn://svn.openmoko.org/trunk/src/target;module=gpio;protocol=http"
S = "${WORKDIR}/gpio"

do_compile() {
	${CC} ${CFLAGS} ${LDFLAGS} -static -o ${PN} gpio-s3c6410.c
}

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