FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" RDEPENDS_${PN} += "bash" PR .= ".mlinux10" # add custom rules for persistent modem device names SRC_URI += "file://cellular_radios.rules \ file://cellular_radios.sh \ file://ubi.rules \ file://${MACHINE}.rules \ file://cellular_radios_cdc_ecm.rules \ " do_install_append() { install -m 644 ${WORKDIR}/cellular_radios.rules ${D}${sysconfdir}/udev/rules.d/ install -m 644 ${WORKDIR}/${MACHINE}.rules ${D}${sysconfdir}/udev/rules.d/ install -m 644 ${WORKDIR}/cellular_radios_cdc_ecm.rules ${D}${sysconfdir}/udev/rules.d/ install -d ${D}${sysconfdir}/udev/scripts install -m 755 ${WORKDIR}/cellular_radios.sh ${D}${sysconfdir}/udev/scripts/ } do_install_append_mtcap3() { install -m 644 ${WORKDIR}/ubi.rules ${D}${sysconfdir}/udev/rules.d/ }