blob: 637fad615d79c4446639fbdb076f0ed77ba976ff [file] [log] [blame]
Adriana Kobylakb96c7502021-08-06 16:25:30 +00001FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
Andrew Jeffery8e962ce2021-06-25 09:10:46 +09302
Manojkiran Eda152c4df2023-01-25 18:28:39 +05303install_mctp_configuration() {
4 install -d ${D}${sysconfdir}/default
5 install -m 0644 ${WORKDIR}/mctp ${D}${sysconfdir}/default/mctp
Manojkiran Eda22329952024-01-08 10:52:54 -06006 install -d ${D}${systemd_system_unitdir}/mctp-demux.service.d
7 install -D -m 0644 ${WORKDIR}/service-override.conf ${D}${systemd_system_unitdir}/mctp-demux.service.d/
Manojkiran Eda152c4df2023-01-25 18:28:39 +05308}
9
Adriana Kobylakb96c7502021-08-06 16:25:30 +000010SRC_URI:append:p10bmc = " file://mctp"
Manojkiran Eda22329952024-01-08 10:52:54 -060011SRC_URI:append:p10bmc = " file://service-override.conf"
Manojkiran Eda152c4df2023-01-25 18:28:39 +053012do_install:append:p10bmc() {
13 install_mctp_configuration
14}
15
Adriana Kobylakb96c7502021-08-06 16:25:30 +000016SRC_URI:append:witherspoon-tacoma = " file://mctp"
Manojkiran Eda22329952024-01-08 10:52:54 -060017SRC_URI:append:witherspoon-tacoma = " file://service-override.conf"
Manojkiran Eda152c4df2023-01-25 18:28:39 +053018do_install:append:witherspoon-tacoma() {
19 install_mctp_configuration
20}
Manojkiran Eda22329952024-01-08 10:52:54 -060021
22FILES:${PN}:append = " ${systemd_system_unitdir}/mctp-demux.service.d/service-override.conf"