udev-rules-imx: Fix warnings for S being unset

WARNING: udev-rules-imx-1.0-r0 do_unpack: udev-rules-imx: the directory
${WORKDIR}/${BP} (.../udev-rules-imx/1.0/udev-rules-imx-1.0) pointed to
by the S variable doesn't exist - please set S within the recipe to
point to where the source has been unpacked to

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Otavio Salvador 2024-07-09 15:19:35 -03:00
parent 478993fc21
commit 2a9aaf24bb

View File

@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
SRC_URI = " file://10-imx.rules"
S = "${UNPACKDIR}"
do_install () {
install -d ${D}${sysconfdir}/udev/rules.d
install -m 0644 ${UNPACKDIR}/10-imx.rules ${D}${sysconfdir}/udev/rules.d/