blob: 31d455efe41506785c7b55bd3b1eaf7a62fb5a89 [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 Geissler2361b0f2019-01-10 17:02:32 +000030SRCREV = "9e382a12c7307a4f091e09ba0c9dfe3e897cb7fb"
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"