blob: 3efe506f092fd7ea3716288b6750f1fa72a92ee8 [file] [log] [blame]
Patrick Venture30823b22018-03-30 11:23:16 -07001SUMMARY = "Phosphor OpenBMC Post Code Daemon"
2DESCRIPTION = "Phosphor OpenBMC Post Code Daemon"
Patrick Venturea9ac4e52018-09-28 19:21:26 -07003HOMEPAGE = "http://github.com/openbmc/phosphor-host-postd"
Patrick Venture30823b22018-03-30 11:23:16 -07004PR = "r1"
Patrick Venturea9ac4e52018-09-28 19:21:26 -07005PV = "0.1+git${SRCPV}"
6LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
Patrick Venture30823b22018-03-30 11:23:16 -07008
9inherit autotools pkgconfig
10inherit obmc-phosphor-systemd
11
12DEPENDS += "autoconf-archive-native"
13DEPENDS += "sdbusplus"
Kun Yicf492442018-09-12 11:01:33 -070014DEPENDS += "sdeventplus"
Patrick Venture30823b22018-03-30 11:23:16 -070015DEPENDS += "phosphor-dbus-interfaces"
16DEPENDS += "systemd"
17
Patrick Venturea9ac4e52018-09-28 19:21:26 -070018S = "${WORKDIR}/git"
19SRC_URI = "git://github.com/openbmc/phosphor-host-postd"
Andrew Geissler537d31e2018-10-18 00:10:20 +000020SRCREV = "f8a20835fbba7d2f935e974bacf3bc3dd340e47c"
Patrick Venturea9ac4e52018-09-28 19:21:26 -070021
Benjamin Fair8c605cf2018-06-29 13:00:14 -070022SNOOP_DEVICE ?= "aspeed-lpc-snoop0"
23POST_CODE_BYTES ?= "1"
24
25SERVICE_FILE = "lpcsnoop.service"
26SYSTEMD_SERVICE_${PN} += "${SERVICE_FILE}"
27SYSTEMD_SUBSTITUTIONS += "SNOOP_DEVICE:${SNOOP_DEVICE}:${SERVICE_FILE}"
28SYSTEMD_SUBSTITUTIONS += "POST_CODE_BYTES:${POST_CODE_BYTES}:${SERVICE_FILE}"