summaryrefslogtreecommitdiff
path: root/recipes-core/udev/eudev_%.bbappend
blob: cde2f109c8542a07acab9de9b0b3701960a76ee6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"

PR .= ".mlinux4"

# add custom rules for persistent modem device names
SRC_URI += "	file://cellular_radios.rules \
		file://${MACHINE}.rules \
		   "
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

SRC_URI_append_mtcdt = "       file://accessory_ethernet.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/
}

do_install_append_mtcdt() {
	install -m 644 ${WORKDIR}/accessory_ethernet.rules ${D}${sysconfdir}/udev/rules.d/
}