blob: f8ea4422862a49f868913099d5bd3a3a0820608d [file] [log] [blame]
Ed Tanous2fe7ba02018-05-31 15:07:49 -07001SUMMARY = "Phosphor OpenBMC KCS to DBUS"
2DESCRIPTION = "Phosphor OpenBMC KCS to DBUS."
3PR = "r1"
4
Yong Lib8bfdc02018-12-04 21:40:17 +08005LICENSE = "Apache-2.0"
Ed Tanous2fe7ba02018-05-31 15:07:49 -07006LIC_FILES_CHKSUM = "file://LICENSE;md5=b1beb00e508e89da1ed2a541934f28c0"
7
8inherit autotools pkgconfig
9inherit obmc-phosphor-dbus-service
10
11PV = "1.0+git${SRCPV}"
12
13KCS_DEVICE ?= "ipmi-kcs3"
14
15DBUS_SERVICE_${PN} = "org.openbmc.HostIpmi.service"
Yong Li65f88502018-12-04 21:54:46 +080016SYSTEMD_SUBSTITUTIONS += "KCS_DEVICE:${KCS_DEVICE}:org.openbmc.HostIpmi.service"
Ed Tanous2fe7ba02018-05-31 15:07:49 -070017
18PROVIDES += "virtual/obmc-host-ipmi-hw"
19RPROVIDES_${PN} += "virtual-obmc-host-ipmi-hw"
20RRECOMMENDS_${PN} += "phosphor-ipmi-host"
21
22DEPENDS += " \
23 autoconf-archive-native \
24 systemd \
25 "
26RDEPENDS_${PN} += "libsystemd"
27
28S = "${WORKDIR}/git"
29SRC_URI = "git://github.com/openbmc/kcsbridge.git;protocol=https"
Andrew Geissler3c06c9e2019-03-01 17:22:01 +000030SRCREV = "17a2ab7f39a78ff0603aa68cf35108ea94eb442f"
Ed Tanous2fe7ba02018-05-31 15:07:49 -070031
32# This is how linux-libc-headers says to include custom uapi headers
33CFLAGS_append = " -I ${STAGING_KERNEL_DIR}/include/uapi"
34do_configure[depends] += "virtual/kernel:do_shared_workdir"