summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-05-20 19:41:15 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-20 19:41:15 +0000
commit0af5fce6ca75f88fc1589fe06e577e62b9517b83 (patch)
tree5f335eec363408166dd8d422573288ba53f6ac0e /packages
parent446a0919d48788af931f105512ed640126c50cac (diff)
add ezx-gpiotool, an utility to read gpios from userspace
Diffstat (limited to 'packages')
-rw-r--r--packages/ezx/ezx-gpiotool_svn.bb26
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}
+}