Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | SUMMARY = "A user-space tool to show and modify the state of GPIOs on the S3c64xx platform" |
| 2 | SECTION = "console/utils" |
| 3 | AUTHOR = "Werner Almesberger <werner@openmoko.org>" |
| 4 | LICENSE = "GPLv2+" |
| 5 | LIC_FILES_CHKSUM = "file://gpio-s3c6410.c;endline=12;md5=060cda1be945ad9194593f11d56d55c7" |
| 6 | SRCREV = "4949" |
| 7 | PV = "1.0+svnr${SRCPV}" |
| 8 | |
| 9 | SRC_URI = "svn://svn.openmoko.org/trunk/src/target;module=gpio;protocol=http" |
| 10 | S = "${WORKDIR}/gpio" |
| 11 | |
| 12 | CLEANBROKEN = "1" |
| 13 | |
| 14 | do_compile() { |
| 15 | ${CC} ${CFLAGS} ${LDFLAGS} -static -o ${PN} gpio-s3c6410.c |
| 16 | } |
| 17 | |
| 18 | do_install() { |
| 19 | install -d ${D}${sbindir} |
| 20 | install -m 0755 ${PN} ${D}${sbindir} |
| 21 | } |