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" |
Patrick Venture | 8a0529b | 2018-10-21 08:24:24 -0700 | [diff] [blame] | 5 | PV = "1.0+git${SRCPV}" |
Vishwanatha Subbanna | b463f22 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 6 | LICENSE = "Apache-2.0" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
Brad Bishop | 485ee9a | 2019-10-29 15:12:15 -0400 | [diff] [blame] | 8 | inherit meson pkgconfig |
Vishwanatha Subbanna | b463f22 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 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 | |
Brad Bishop | b0f3efd | 2018-04-11 11:42:57 -0400 | [diff] [blame] | 16 | PACKAGE_BEFORE_PN += "${GPIO_PACKAGES}" |
| 17 | ALLOW_EMPTY_${PN} = "1" |
Gunnar Mills | c238b65 | 2017-07-10 15:49:43 -0500 | [diff] [blame] | 18 | SYSTEMD_PACKAGES = "${GPIO_PACKAGES}" |
| 19 | |
| 20 | RPROVIDES_${PN}-monitor += "virtual/obmc-gpio-monitor" |
| 21 | RPROVIDES_${PN}-presence += "virtual/obmc-gpio-presence" |
| 22 | |
Vishwanatha Subbanna | b463f22 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 23 | PROVIDES += "virtual/obmc-gpio-monitor" |
Gunnar Mills | c238b65 | 2017-07-10 15:49:43 -0500 | [diff] [blame] | 24 | PROVIDES += "virtual/obmc-gpio-presence" |
Vishwanatha Subbanna | b463f22 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 25 | |
Vishwanatha Subbanna | b463f22 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 26 | DEPENDS += "sdbusplus sdbusplus-native" |
| 27 | DEPENDS += "phosphor-dbus-interfaces" |
Patrick Williams | 94d3d06 | 2017-06-08 08:48:06 -0500 | [diff] [blame] | 28 | DEPENDS += "libevdev" |
Vishwanatha Subbanna | b463f22 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 29 | DEPENDS += "phosphor-logging" |
Brad Bishop | 26873c9 | 2019-03-22 23:41:42 -0400 | [diff] [blame] | 30 | DEPENDS += "systemd" |
Vijay Khemka | e80c270 | 2019-10-18 18:21:27 -0700 | [diff] [blame] | 31 | DEPENDS += "boost" |
| 32 | DEPENDS += "libgpiod" |
| 33 | DEPENDS += "cli11" |
| 34 | DEPENDS += "nlohmann-json" |
Gunnar Mills | c238b65 | 2017-07-10 15:49:43 -0500 | [diff] [blame] | 35 | |
Vijay Khemka | e80c270 | 2019-10-18 18:21:27 -0700 | [diff] [blame] | 36 | SYSTEMD_SERVICE_${PN}-monitor += "phosphor-multi-gpio-monitor.service" |
Gunnar Mills | c238b65 | 2017-07-10 15:49:43 -0500 | [diff] [blame] | 37 | SYSTEMD_SERVICE_${PN}-monitor += "phosphor-gpio-monitor@.service" |
| 38 | SYSTEMD_SERVICE_${PN}-presence += "phosphor-gpio-presence@.service" |
| 39 | |
Andrew Geissler | c2a1768 | 2019-05-16 04:01:53 +0000 | [diff] [blame] | 40 | FILES_${PN}-monitor += "${bindir}/phosphor-gpio-monitor" |
Vijay Khemka | e80c270 | 2019-10-18 18:21:27 -0700 | [diff] [blame] | 41 | FILES_${PN}-monitor += "${bindir}/phosphor-multi-gpio-monitor" |
Andrew Geissler | c2a1768 | 2019-05-16 04:01:53 +0000 | [diff] [blame] | 42 | FILES_${PN}-monitor += "${bindir}/phosphor-gpio-util" |
Andrew Geissler | da924a2 | 2019-11-13 21:51:01 +0000 | [diff] [blame] | 43 | FILES_${PN}-monitor += "${base_libdir}/udev/rules.d/99-gpio-keys.rules" |
Andrew Geissler | c2a1768 | 2019-05-16 04:01:53 +0000 | [diff] [blame] | 44 | FILES_${PN}-presence += "${bindir}/phosphor-gpio-presence" |
Vishwanatha Subbanna | b463f22 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 45 | |
| 46 | SRC_URI += "git://github.com/openbmc/phosphor-gpio-monitor" |
Andrew Geissler | 94d03b8 | 2019-11-19 18:51:10 +0000 | [diff] [blame^] | 47 | SRCREV = "43dd2d8a025ca9f3df4dd58dd7e4ecf6fa1b6634" |
Vishwanatha Subbanna | b463f22 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 48 | S = "${WORKDIR}/git" |