diff options
author | Michael Lauer <mickey@vanille-media.de> | 2006-05-20 19:41:15 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-05-20 19:41:15 +0000 |
commit | 0af5fce6ca75f88fc1589fe06e577e62b9517b83 (patch) | |
tree | 5f335eec363408166dd8d422573288ba53f6ac0e | |
parent | 446a0919d48788af931f105512ed640126c50cac (diff) |
add ezx-gpiotool, an utility to read gpios from userspace
-rw-r--r-- | packages/ezx/ezx-gpiotool_svn.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/ezx/ezx-gpiotool_svn.bb b/packages/ezx/ezx-gpiotool_svn.bb new file mode 100644 index 0000000000..e483c4091c --- /dev/null +++ b/packages/ezx/ezx-gpiotool_svn.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "Gpiotool can read/write gpio configuration as well as individual gpio pins from userspace." +SECTION = "devel" +LICENSE = "GPL" +HOMEPAGE = "http://openezx.org" +AUTHOR = "Harald Welte" +MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>" + +SRC_URI = "svn://svn.openezx.org/trunk/src;module=gpiotool;proto=http" +S = "${WORKDIR}/gpiotool" + +do_compile() { + for i in mmio.c gpiotool.c gpio.c + do + ${CC} ${CFLAGS} -c $i + done + ${CC} ${CFLAGS} -o ezx-gpiotool mmio.o gpiotool.o gpio.o +} + +do_stage() { + : +} + +do_install() { + install -d ${D}${sbindir} + install -m 0755 ezx-gpiotool ${D}${sbindir} +} |