| FILESEXTRAPATHS:prepend:gbmc := "${THISDIR}/${PN}:" | 
 |  | 
 | SRCREV:gbmc = "d791d1de4ad5ddb71acf896c65e0a6c18a87b5ca" | 
 | SRC_URI:append:gbmc = " \ | 
 |   file://0001-mctpd-Set-initial-route-MTU-to-minimum.patch \ | 
 |   file://mctp-i2c.service \ | 
 |   file://init-mctp-i2c-endpoint.sh \ | 
 |   file://service-override.conf \ | 
 | " | 
 |  | 
 | RDEPENDS:${PN} += " \ | 
 |     bash \ | 
 | " | 
 |  | 
 | EXTRA_OEMESON:append:gbmc = " \ | 
 |     -Dtests=false \ | 
 | " | 
 |  | 
 | # Base MCTP EID used by init-mctp-i2c-endpoint.sh | 
 | # This variable can be override by other layers | 
 | EID_BASE ??= "60" | 
 |  | 
 | FILES:${PN}:append:gbmc = " \ | 
 |   ${systemd_system_unitdir}/mctpd.service.d/service-override.conf \ | 
 | " | 
 |  | 
 | do_install:append:gbmc() { | 
 |     # -i'' : Replace in-place without backup file | 
 |     sed -i'' -E ${WORKDIR}/init-mctp-i2c-endpoint.sh \ | 
 |         -e "s#EID_BASE=[0-9]+#EID_BASE=${EID_BASE}#" | 
 |  | 
 |     install -d ${D}${bindir} | 
 |     install -m 0755 ${WORKDIR}/init-mctp-i2c-endpoint.sh ${D}${bindir}/ | 
 |  | 
 |     install -d ${D}${systemd_system_unitdir} | 
 |     install -m 0644 ${WORKDIR}/mctp-i2c.service ${D}${systemd_system_unitdir}/ | 
 |  | 
 |     install -d ${D}${systemd_system_unitdir}/mctpd.service.d | 
 |     install -D -m 0644 ${WORKDIR}/service-override.conf \ | 
 |       ${D}${systemd_system_unitdir}/mctpd.service.d/ | 
 | } | 
 |  | 
 |  | 
 | SYSTEMD_SERVICE:${PN} += " mctp-i2c.service" |