Jason M. Bills | 8207f6e | 2020-04-08 11:57:55 -0700 | [diff] [blame^] | 1 | LICENSE = "Apache-2.0" |
| 2 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7becf906c8f8d03c237bad13bc3dac53" |
| 3 | inherit cmake systemd |
| 4 | |
| 5 | SRC_URI = "git://github.com/openbmc/host-error-monitor" |
| 6 | |
| 7 | DEPENDS = "boost sdbusplus libgpiod libpeci" |
| 8 | |
| 9 | PV = "0.1+git${SRCPV}" |
| 10 | SRCREV = "53099c49b89c22cfe09c7217679ae1fb20e019eb" |
| 11 | |
| 12 | S = "${WORKDIR}/git" |
| 13 | |
| 14 | SYSTEMD_SERVICE_${PN} += "xyz.openbmc_project.HostErrorMonitor.service" |
| 15 | SECURITY_CFLAGS_pn-host-error-monitor = "${SECURITY_NOPIE_CFLAGS}" |
| 16 | |
| 17 | # linux-libc-headers guides this way to include custom uapi headers |
| 18 | CFLAGS_append = " -I ${STAGING_KERNEL_DIR}/include/uapi" |
| 19 | CFLAGS_append = " -I ${STAGING_KERNEL_DIR}/include" |
| 20 | CXXFLAGS_append = " -I ${STAGING_KERNEL_DIR}/include/uapi" |
| 21 | CXXFLAGS_append = " -I ${STAGING_KERNEL_DIR}/include" |
| 22 | do_configure[depends] += "virtual/kernel:do_shared_workdir" |