From 0af5fce6ca75f88fc1589fe06e577e62b9517b83 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Sat, 20 May 2006 19:41:15 +0000 Subject: add ezx-gpiotool, an utility to read gpios from userspace --- packages/ezx/ezx-gpiotool_svn.bb | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 packages/ezx/ezx-gpiotool_svn.bb 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 " + +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} +} -- cgit v1.2.3