mirror of
https://github.com/nxp-imx/meta-imx.git
synced 2026-01-27 11:32:16 +01:00
Use UNPACKDIR to replace WORKDIR in Yocto 5.1 recipe. Signed-off-by: Jun Zhu <junzhu@nxp.com>
21 lines
678 B
Plaintext
21 lines
678 B
Plaintext
# Freescale i.MX SOC extra configuration udev rules
|
|
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
|
|
|
SRC_URI:append:mx6-nxp-bsp = " file://blacklist.conf "
|
|
SRC_URI:append:mx7-nxp-bsp = " file://blacklist.conf"
|
|
SRC_URI:append:mx8-nxp-bsp = " file://blacklist.conf"
|
|
SRC_URI:append:mx9-nxp-bsp = " file://blacklist.conf"
|
|
|
|
do_install:prepend () {
|
|
if [ -e "${UNPACKDIR}/blacklist.conf" ]; then
|
|
install -d ${D}${sysconfdir}/modprobe.d
|
|
install -m 0644 ${UNPACKDIR}/blacklist.conf ${D}${sysconfdir}/modprobe.d
|
|
fi
|
|
}
|
|
|
|
|
|
FILES:${PN}:append = " ${sysconfdir}/modprobe.d"
|
|
|
|
PACKAGE_ARCH:mx6-nxp-bsp = "${MACHINE_SOCARCH}"
|
|
PACKAGE_ARCH:mx7-nxp-bsp = "${MACHINE_SOCARCH}"
|