31 lines
725 B
BlitzBasic
31 lines
725 B
BlitzBasic
|
|
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||
|
|
LICENSE = "CLOSED"
|
||
|
|
|
||
|
|
SRC_URI += " \
|
||
|
|
file://dimmSpdReader.cpp \
|
||
|
|
file://dimmSpdReader.hpp \
|
||
|
|
file://dimmSpdReaderMain.cpp \
|
||
|
|
file://i3cdev.h \
|
||
|
|
file://meson.build \
|
||
|
|
file://xyz.openbmc_project.dimmspdreader.service \
|
||
|
|
"
|
||
|
|
|
||
|
|
S = "${WORKDIR}"
|
||
|
|
|
||
|
|
inherit pkgconfig meson systemd
|
||
|
|
|
||
|
|
DEPENDS = " \
|
||
|
|
boost \
|
||
|
|
libgpiod \
|
||
|
|
nlohmann-json \
|
||
|
|
phosphor-logging \
|
||
|
|
sdbusplus \
|
||
|
|
"
|
||
|
|
SYSTEMD_PACKAGES = "${PN}"
|
||
|
|
SYSTEMD_SERVICE:${PN} = "xyz.openbmc_project.dimmspdreader.service"
|
||
|
|
|
||
|
|
do_install:append() {
|
||
|
|
install -d ${D}${systemd_unitdir}/system/
|
||
|
|
install -m 0644 ${WORKDIR}/xyz.openbmc_project.dimmspdreader.service ${D}${systemd_unitdir}/system
|
||
|
|
}
|