1DESCRIPTION = "udev rules for Raspberry Pi Boards" 2LICENSE = "MIT" 3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 4 5SRC_URI = " \ 6 git://github.com/RPi-Distro/raspberrypi-sys-mods;protocol=https;branch=master \ 7 file://can.rules \ 8 " 9SRCREV = "5ce3ef2b7f377c23fea440ca9df0e30f3f8447cf" 10 11S = "${WORKDIR}/git" 12 13INHIBIT_DEFAULT_DEPS = "1" 14 15do_install () { 16 install -d ${D}${sysconfdir}/udev/rules.d 17 install -m 0644 ${S}/etc.armhf/udev/rules.d/99-com.rules ${D}${sysconfdir}/udev/rules.d/ 18 install -m 0644 ${WORKDIR}/can.rules ${D}${sysconfdir}/udev/rules.d/ 19} 20