blob: 2cf783c4c1179965353b2783e2ced0bfd0b3347c [file] [log] [blame]
Patrick Venture7ebe0262018-03-30 11:23:16 -07001SUMMARY = "Phosphor OpenBMC Post Code Daemon"
2DESCRIPTION = "Phosphor OpenBMC Post Code Daemon"
Patrick Venture6b91f732018-09-28 19:21:26 -07003HOMEPAGE = "http://github.com/openbmc/phosphor-host-postd"
Patrick Venture7ebe0262018-03-30 11:23:16 -07004PR = "r1"
Patrick Venture6b91f732018-09-28 19:21:26 -07005PV = "0.1+git${SRCPV}"
6LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
Patrick Venture7ebe0262018-03-30 11:23:16 -07008
9inherit autotools pkgconfig
Patrick Venture20b4af62018-10-23 11:57:36 -070010inherit systemd
Patrick Venture7ebe0262018-03-30 11:23:16 -070011
12DEPENDS += "autoconf-archive-native"
13DEPENDS += "sdbusplus"
Kun Yi41d3e4d2018-09-12 11:01:33 -070014DEPENDS += "sdeventplus"
Patrick Venture7ebe0262018-03-30 11:23:16 -070015DEPENDS += "phosphor-dbus-interfaces"
16DEPENDS += "systemd"
17
Patrick Venture6b91f732018-09-28 19:21:26 -070018S = "${WORKDIR}/git"
19SRC_URI = "git://github.com/openbmc/phosphor-host-postd"
Andrew Geissler92e48c12018-11-02 21:10:21 +000020SRCREV = "14c5d6f7aff84c23d641b2add6f3d2c95743c508"
Patrick Venture6b91f732018-09-28 19:21:26 -070021
Benjamin Fair89e86cd2018-06-29 13:00:14 -070022SNOOP_DEVICE ?= "aspeed-lpc-snoop0"
23POST_CODE_BYTES ?= "1"
24
25SERVICE_FILE = "lpcsnoop.service"
Patrick Venture20b4af62018-10-23 11:57:36 -070026SYSTEMD_PACKAGES = "${PN}"
Benjamin Fair89e86cd2018-06-29 13:00:14 -070027SYSTEMD_SERVICE_${PN} += "${SERVICE_FILE}"
Patrick Venture20b4af62018-10-23 11:57:36 -070028SYSTEMD_DEFAULT_TARGET ?= "obmc-standby.target"
29
30EXTRA_OECONF = " \
31 SNOOP_DEVICE="${SNOOP_DEVICE}" \
32 POST_CODE_BYTES="${POST_CODE_BYTES}" \
33 SYSTEMD_TARGET="${SYSTEMD_DEFAULT_TARGET}" \
34"