Kuiying Wang | 91ff72a | 2018-11-08 16:52:49 +0800 | [diff] [blame] | 1 | SUMMARY = "OpenBMC Buttons" |
| 2 | DESCRIPTION = "OpenBMC All buttons" |
Kuiying Wang | 91ff72a | 2018-11-08 16:52:49 +0800 | [diff] [blame] | 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
Kuiying Wang | 91ff72a | 2018-11-08 16:52:49 +0800 | [diff] [blame] | 5 | DEPENDS += " \ |
| 6 | systemd \ |
| 7 | sdbusplus \ |
| 8 | phosphor-dbus-interfaces \ |
| 9 | phosphor-logging \ |
Kuiying Wang | 91ff72a | 2018-11-08 16:52:49 +0800 | [diff] [blame] | 10 | " |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame^] | 11 | SRCREV = "a6d4e65d5c4c78f86d690fff31b79db9fa8c3b4c" |
| 12 | PACKAGECONFIG ??= "signals handler" |
| 13 | PACKAGECONFIG[signals] = ",,gpioplus nlohmann-json," |
| 14 | PACKAGECONFIG[handler] = ",,,phosphor-state-manager-chassis phosphor-state-manager-host" |
| 15 | PV = "1.0+git${SRCPV}" |
| 16 | PR = "r1" |
| 17 | |
| 18 | SRC_URI += "git://github.com/openbmc/phosphor-buttons.git;branch=master;protocol=https" |
| 19 | |
| 20 | S = "${WORKDIR}/git" |
| 21 | SYSTEMD_PACKAGES = "${BUTTON_PACKAGES}" |
| 22 | SYSTEMD_SERVICE:${PN}-signals = "xyz.openbmc_project.Chassis.Buttons.service" |
| 23 | SYSTEMD_SERVICE:${PN}-handler = "phosphor-button-handler.service" |
| 24 | |
| 25 | inherit meson pkgconfig systemd |
| 26 | |
| 27 | FILES:${PN}-signals = "${bindir}/buttons" |
| 28 | FILES:${PN}-handler = "${bindir}/button-handler" |
| 29 | |
| 30 | ALLOW_EMPTY:${PN} = "1" |
| 31 | |
| 32 | BUTTON_PACKAGES = "${PN}-signals ${PN}-handler" |
| 33 | |
| 34 | PACKAGE_BEFORE_PN += "${BUTTON_PACKAGES}" |