Patrick Venture | 7ebe026 | 2018-03-30 11:23:16 -0700 | [diff] [blame] | 1 | SUMMARY = "Phosphor OpenBMC Post Code Daemon" |
| 2 | DESCRIPTION = "Phosphor OpenBMC Post Code Daemon" |
| 3 | PR = "r1" |
| 4 | |
| 5 | inherit autotools pkgconfig |
| 6 | inherit obmc-phosphor-systemd |
| 7 | |
| 8 | DEPENDS += "autoconf-archive-native" |
| 9 | DEPENDS += "sdbusplus" |
Kun Yi | 41d3e4d | 2018-09-12 11:01:33 -0700 | [diff] [blame] | 10 | DEPENDS += "sdeventplus" |
Patrick Venture | 7ebe026 | 2018-03-30 11:23:16 -0700 | [diff] [blame] | 11 | DEPENDS += "phosphor-dbus-interfaces" |
| 12 | DEPENDS += "systemd" |
| 13 | |
Kun Yi | 41d3e4d | 2018-09-12 11:01:33 -0700 | [diff] [blame] | 14 | RDEPENDS_${PN} += "sdbusplus sdeventplus phosphor-dbus-interfaces" |
Patrick Venture | 7ebe026 | 2018-03-30 11:23:16 -0700 | [diff] [blame] | 15 | |
Benjamin Fair | 89e86cd | 2018-06-29 13:00:14 -0700 | [diff] [blame] | 16 | SNOOP_DEVICE ?= "aspeed-lpc-snoop0" |
| 17 | POST_CODE_BYTES ?= "1" |
| 18 | |
| 19 | SERVICE_FILE = "lpcsnoop.service" |
| 20 | SYSTEMD_SERVICE_${PN} += "${SERVICE_FILE}" |
| 21 | SYSTEMD_SUBSTITUTIONS += "SNOOP_DEVICE:${SNOOP_DEVICE}:${SERVICE_FILE}" |
| 22 | SYSTEMD_SUBSTITUTIONS += "POST_CODE_BYTES:${POST_CODE_BYTES}:${SERVICE_FILE}" |
Patrick Venture | 7ebe026 | 2018-03-30 11:23:16 -0700 | [diff] [blame] | 23 | |
| 24 | require ${PN}.inc |
| 25 | |
| 26 | S = "${WORKDIR}/git" |
| 27 | |