Vishwanatha Subbanna | b463f22 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 1 | SUMMARY = "Phosphor GPIO monitor application" |
| 2 | DESCRIPTION = "Application to monitor gpio assertions" |
| 3 | HOMEPAGE = "http://github.com/openbmc/phosphor-gpio-monitor" |
| 4 | PR = "r1" |
| 5 | |
| 6 | LICENSE = "Apache-2.0" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
| 8 | inherit autotools pkgconfig |
| 9 | inherit obmc-phosphor-dbus-service |
| 10 | |
Gunnar Mills | c238b65 | 2017-07-10 15:49:43 -0500 | [diff] [blame] | 11 | GPIO_PACKAGES = " \ |
| 12 | ${PN}-monitor \ |
| 13 | ${PN}-presence \ |
| 14 | " |
| 15 | |
| 16 | PACKAGES += "${GPIO_PACKAGES}" |
| 17 | PACKAGES_remove = "${PN}" |
| 18 | RDEPENDS_${PN}-dev = "${GPIO_PACKAGES}" |
| 19 | RDEPENDS_${PN}-staticdev = "${GPIO_PACKAGES}" |
| 20 | SYSTEMD_PACKAGES = "${GPIO_PACKAGES}" |
| 21 | |
| 22 | RPROVIDES_${PN}-monitor += "virtual/obmc-gpio-monitor" |
| 23 | RPROVIDES_${PN}-presence += "virtual/obmc-gpio-presence" |
| 24 | |
Vishwanatha Subbanna | b463f22 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 25 | PROVIDES += "virtual/obmc-gpio-monitor" |
Gunnar Mills | c238b65 | 2017-07-10 15:49:43 -0500 | [diff] [blame] | 26 | PROVIDES += "virtual/obmc-gpio-presence" |
Vishwanatha Subbanna | b463f22 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 27 | |
| 28 | DEPENDS += "autoconf-archive-native" |
| 29 | DEPENDS += "sdbusplus sdbusplus-native" |
| 30 | DEPENDS += "phosphor-dbus-interfaces" |
Patrick Williams | 94d3d06 | 2017-06-08 08:48:06 -0500 | [diff] [blame] | 31 | DEPENDS += "libevdev" |
Vishwanatha Subbanna | b463f22 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 32 | DEPENDS += "phosphor-logging" |
Vishwanatha Subbanna | b463f22 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 33 | |
Gunnar Mills | c238b65 | 2017-07-10 15:49:43 -0500 | [diff] [blame] | 34 | RDEPENDS_${PN}-monitor += " \ |
| 35 | libsystemd \ |
| 36 | libevdev \ |
| 37 | phosphor-logging \ |
| 38 | " |
| 39 | RDEPENDS_${PN}-presence += " \ |
| 40 | libsystemd \ |
| 41 | libevdev \ |
| 42 | phosphor-logging \ |
| 43 | sdbusplus \ |
| 44 | " |
| 45 | |
| 46 | SYSTEMD_SERVICE_${PN}-monitor += "phosphor-gpio-monitor@.service" |
| 47 | SYSTEMD_SERVICE_${PN}-presence += "phosphor-gpio-presence@.service" |
| 48 | |
| 49 | FILES_${PN}-monitor += "${sbindir}/phosphor-gpio-monitor" |
| 50 | FILES_${PN}-monitor += "${sbindir}/phosphor-gpio-util" |
| 51 | FILES_${PN}-presence += "${sbindir}/phosphor-gpio-presence" |
Vishwanatha Subbanna | b463f22 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 52 | |
| 53 | SRC_URI += "git://github.com/openbmc/phosphor-gpio-monitor" |
Andrew Geissler | 0cbfe08 | 2018-04-18 20:25:07 +0000 | [diff] [blame] | 54 | SRCREV = "bc4a4ff6e4d0688727d54e73356be617acf18035" |
Vishwanatha Subbanna | b463f22 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 55 | S = "${WORKDIR}/git" |