aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/udev/udev-extraconf_1.0.bbappend
blob: f73e4bca8b34b448fa1901de6849ba30dfc8524a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Freescale imx extra configuration udev rules
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

SRC_URI_append_mxs = " file://10-imx.rules"
SRC_URI_append_mx5 = " file://10-imx.rules"
SRC_URI_append_mx6 = " file://10-imx.rules"

do_install_prepend () {
	if [ -e "${WORKDIR}/10-imx.rules" ]; then
		install -d ${D}${sysconfdir}/udev/rules.d
		install -m 0644 ${WORKDIR}/10-imx.rules ${D}${sysconfdir}/udev/rules.d
	fi
}

PACKAGE_ARCH_mxs = "${MACHINE_ARCH}"
PACKAGE_ARCH_mx5 = "${MACHINE_ARCH}"
PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}"