blob: 752ac78c9ce70ccda795f54fbb57fd7c1ac608c7 [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 "
Ed Tanous2fe7ba02018-05-31 15:07:49 -070026
27S = "${WORKDIR}/git"
28SRC_URI = "git://github.com/openbmc/kcsbridge.git;protocol=https"
Andrew Geissler3c06c9e2019-03-01 17:22:01 +000029SRCREV = "17a2ab7f39a78ff0603aa68cf35108ea94eb442f"
Ed Tanous2fe7ba02018-05-31 15:07:49 -070030
31# This is how linux-libc-headers says to include custom uapi headers
32CFLAGS_append = " -I ${STAGING_KERNEL_DIR}/include/uapi"
33do_configure[depends] += "virtual/kernel:do_shared_workdir"