From cf20be0e809f4452b6098ad028635c4b3c70a089 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Tue, 26 Feb 2008 12:52:34 +0000 Subject: add gpio, a userspace utility to tweak the GPIOs on the s3c24xx platform --- packages/s3c24xx-utils/gpio_svn.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 packages/s3c24xx-utils/gpio_svn.bb (limited to 'packages') diff --git a/packages/s3c24xx-utils/gpio_svn.bb b/packages/s3c24xx-utils/gpio_svn.bb new file mode 100644 index 0000000000..263161aa5d --- /dev/null +++ b/packages/s3c24xx-utils/gpio_svn.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "A user-space tool to show and modify the state of GPIOs on the S3c24xx platform" +SECTION = "console/utils" +LICENSE = "GPL" +PV = "1.0+svn${SRCDATE}" +PR = "r1" + +SRC_URI = "svn://svn.openmoko.org/trunk/src/target;module=gpio;proto=http" +S = "${WORKDIR}/gpio" + +do_compile() { + ${CC} ${CFLAGS} ${LDFLAGS} -static -o gpio gpio.c +} + +do_install() { + install -d ${D}${sbindir} + install -m 0755 gpio ${D}${sbindir} +} -- cgit v1.2.3