blob: 42cfcdd4d5a07565608bbd53fa79aa0fc5eec66d [file] [log] [blame]
Brad Bishop3a5fbf52017-12-04 02:17:07 -05001DESCRIPTION = "udev rules for Raspberry Pi Boards"
2LICENSE = "MIT"
Brad Bishopf27bdd52018-05-07 15:42:31 +02003LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
Brad Bishop3a5fbf52017-12-04 02:17:07 -05004
Brad Bishop19323692019-04-05 15:28:33 -04005SRC_URI = " \
6 file://99-com.rules \
7 file://can.rules \
8 "
Brad Bishop3a5fbf52017-12-04 02:17:07 -05009
10S = "${WORKDIR}"
11
Brad Bishop316dfdd2018-06-25 12:45:53 -040012INHIBIT_DEFAULT_DEPS = "1"
13
Brad Bishop3a5fbf52017-12-04 02:17:07 -050014do_install () {
15 install -d ${D}${sysconfdir}/udev/rules.d
16 install -m 0644 ${WORKDIR}/99-com.rules ${D}${sysconfdir}/udev/rules.d/
Brad Bishop19323692019-04-05 15:28:33 -040017 install -m 0644 ${WORKDIR}/can.rules ${D}${sysconfdir}/udev/rules.d/
Brad Bishop3a5fbf52017-12-04 02:17:07 -050018}