blob: b6b92fd6c1025a554c61cac03b1889b59157b0fa [file] [log] [blame]
Vishwanatha Subbannab463f222017-04-28 15:35:10 +05301SUMMARY = "Phosphor GPIO monitor application"
2DESCRIPTION = "Application to monitor gpio assertions"
3HOMEPAGE = "http://github.com/openbmc/phosphor-gpio-monitor"
4PR = "r1"
5
6LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
8inherit autotools pkgconfig
9inherit obmc-phosphor-dbus-service
10
Gunnar Millsc238b652017-07-10 15:49:43 -050011GPIO_PACKAGES = " \
12 ${PN}-monitor \
13 ${PN}-presence \
14"
15
Brad Bishopb0f3efd2018-04-11 11:42:57 -040016PACKAGE_BEFORE_PN += "${GPIO_PACKAGES}"
17ALLOW_EMPTY_${PN} = "1"
Gunnar Millsc238b652017-07-10 15:49:43 -050018SYSTEMD_PACKAGES = "${GPIO_PACKAGES}"
19
20RPROVIDES_${PN}-monitor += "virtual/obmc-gpio-monitor"
21RPROVIDES_${PN}-presence += "virtual/obmc-gpio-presence"
22
Vishwanatha Subbannab463f222017-04-28 15:35:10 +053023PROVIDES += "virtual/obmc-gpio-monitor"
Gunnar Millsc238b652017-07-10 15:49:43 -050024PROVIDES += "virtual/obmc-gpio-presence"
Vishwanatha Subbannab463f222017-04-28 15:35:10 +053025
26DEPENDS += "autoconf-archive-native"
27DEPENDS += "sdbusplus sdbusplus-native"
28DEPENDS += "phosphor-dbus-interfaces"
Patrick Williams94d3d062017-06-08 08:48:06 -050029DEPENDS += "libevdev"
Vishwanatha Subbannab463f222017-04-28 15:35:10 +053030DEPENDS += "phosphor-logging"
Vishwanatha Subbannab463f222017-04-28 15:35:10 +053031
Gunnar Millsc238b652017-07-10 15:49:43 -050032RDEPENDS_${PN}-monitor += " \
33 libsystemd \
34 libevdev \
35 phosphor-logging \
36"
37RDEPENDS_${PN}-presence += " \
38 libsystemd \
39 libevdev \
40 phosphor-logging \
41 sdbusplus \
42"
43
44SYSTEMD_SERVICE_${PN}-monitor += "phosphor-gpio-monitor@.service"
45SYSTEMD_SERVICE_${PN}-presence += "phosphor-gpio-presence@.service"
46
47FILES_${PN}-monitor += "${sbindir}/phosphor-gpio-monitor"
48FILES_${PN}-monitor += "${sbindir}/phosphor-gpio-util"
49FILES_${PN}-presence += "${sbindir}/phosphor-gpio-presence"
Vishwanatha Subbannab463f222017-04-28 15:35:10 +053050
51SRC_URI += "git://github.com/openbmc/phosphor-gpio-monitor"
Andrew Geissler1b066522018-08-21 16:35:04 -050052SRCREV = "96e01b7c110219bef0b0f68b6054454ae27dee95"
Vishwanatha Subbannab463f222017-04-28 15:35:10 +053053S = "${WORKDIR}/git"