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() { |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 15 | ${CC} ${CFLAGS} ${LDFLAGS} -o ${PN} gpio-s3c6410.c |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 16 | } |
| 17 | |
| 18 | do_install() { |
| 19 | install -d ${D}${sbindir} |
| 20 | install -m 0755 ${PN} ${D}${sbindir} |
| 21 | } |