summaryrefslogtreecommitdiff
path: root/packages/ezx/ezx-gpiotool_svn.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ezx/ezx-gpiotool_svn.bb')
-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}
+}