Ed Tanous | 2fe7ba0 | 2018-05-31 15:07:49 -0700 | [diff] [blame] | 1 | SUMMARY = "Phosphor OpenBMC KCS to DBUS" |
| 2 | DESCRIPTION = "Phosphor OpenBMC KCS to DBUS." |
| 3 | PR = "r1" |
| 4 | |
Yong Li | b8bfdc0 | 2018-12-04 21:40:17 +0800 | [diff] [blame] | 5 | LICENSE = "Apache-2.0" |
Ed Tanous | 2fe7ba0 | 2018-05-31 15:07:49 -0700 | [diff] [blame] | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b1beb00e508e89da1ed2a541934f28c0" |
| 7 | |
| 8 | inherit autotools pkgconfig |
Vernon Mauery | ed16aac | 2019-03-22 12:25:14 -0700 | [diff] [blame] | 9 | inherit systemd |
Ed Tanous | 2fe7ba0 | 2018-05-31 15:07:49 -0700 | [diff] [blame] | 10 | |
| 11 | PV = "1.0+git${SRCPV}" |
| 12 | |
| 13 | KCS_DEVICE ?= "ipmi-kcs3" |
| 14 | |
Vernon Mauery | ed16aac | 2019-03-22 12:25:14 -0700 | [diff] [blame] | 15 | SYSTEMD_SERVICE_${PN} = " ${PN}@${KCS_DEVICE}.service " |
| 16 | FILES_${PN} += " ${systemd_system_unitdir}/${PN}@.service " |
Ed Tanous | 2fe7ba0 | 2018-05-31 15:07:49 -0700 | [diff] [blame] | 17 | |
| 18 | PROVIDES += "virtual/obmc-host-ipmi-hw" |
| 19 | RPROVIDES_${PN} += "virtual-obmc-host-ipmi-hw" |
| 20 | RRECOMMENDS_${PN} += "phosphor-ipmi-host" |
| 21 | |
| 22 | DEPENDS += " \ |
| 23 | autoconf-archive-native \ |
| 24 | systemd \ |
Vernon Mauery | 6f17493 | 2019-04-12 14:06:06 -0700 | [diff] [blame] | 25 | sdbusplus \ |
| 26 | boost \ |
| 27 | phosphor-logging \ |
| 28 | cli11 \ |
Ed Tanous | 2fe7ba0 | 2018-05-31 15:07:49 -0700 | [diff] [blame] | 29 | " |
Ed Tanous | 2fe7ba0 | 2018-05-31 15:07:49 -0700 | [diff] [blame] | 30 | |
| 31 | S = "${WORKDIR}/git" |
Patrick Venture | 2180ac8 | 2019-04-07 07:30:36 -0700 | [diff] [blame] | 32 | SRC_URI = "git://github.com/openbmc/kcsbridge.git" |
Andrew Geissler | c921fe9 | 2019-11-05 16:51:31 +0000 | [diff] [blame] | 33 | SRCREV = "46525ae48db23333493ac927c12ed13a0e663de5" |
Ed Tanous | 2fe7ba0 | 2018-05-31 15:07:49 -0700 | [diff] [blame] | 34 | |
| 35 | # This is how linux-libc-headers says to include custom uapi headers |
| 36 | CFLAGS_append = " -I ${STAGING_KERNEL_DIR}/include/uapi" |
| 37 | do_configure[depends] += "virtual/kernel:do_shared_workdir" |