diff options
author | Michael Lauer <mickey@vanille-media.de> | 2008-02-26 12:52:34 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2008-02-26 12:52:34 +0000 |
commit | cf20be0e809f4452b6098ad028635c4b3c70a089 (patch) | |
tree | ac04b5b1144a6a47f7b6f13f50cf792c932b082b | |
parent | 602390def86f581928680f00814cb8f2bd7ac5b9 (diff) |
add gpio, a userspace utility to tweak the GPIOs on the s3c24xx platform
-rw-r--r-- | conf/distro/include/sane-srcrevs.inc | 1 | ||||
-rw-r--r-- | packages/s3c24xx-utils/gpio_svn.bb | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/conf/distro/include/sane-srcrevs.inc b/conf/distro/include/sane-srcrevs.inc index 1c6d81023a..2ff0809324 100644 --- a/conf/distro/include/sane-srcrevs.inc +++ b/conf/distro/include/sane-srcrevs.inc @@ -30,6 +30,7 @@ SRCREV_pn-fstests ?= "204" SRCREV_pn-gconf-dbus ?= "641" SRCREV_pn-gnuradio ?= "6377" SRCREV_pn-gpe-contacts ?= "9312" +SRCREV_pn-gpio ?= "4112" SRCREV_pn-gsm0710muxd ?= "77" SRCREV_pn-gtkhtml2 ?= "1158" SRCREV_pn-gypsy ?= "56" 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} +} |