summaryrefslogtreecommitdiffstats
path: root/meta-egvirt/recipes-kernel/kernel-module-virtio-can/kernel-module-virtio-can.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-egvirt/recipes-kernel/kernel-module-virtio-can/kernel-module-virtio-can.bb')
-rw-r--r--meta-egvirt/recipes-kernel/kernel-module-virtio-can/kernel-module-virtio-can.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-egvirt/recipes-kernel/kernel-module-virtio-can/kernel-module-virtio-can.bb b/meta-egvirt/recipes-kernel/kernel-module-virtio-can/kernel-module-virtio-can.bb
new file mode 100644
index 00000000..e8327de4
--- /dev/null
+++ b/meta-egvirt/recipes-kernel/kernel-module-virtio-can/kernel-module-virtio-can.bb
@@ -0,0 +1,20 @@
+SUMMARY = "VIRTIO CAN device driver"
+
+LICENSE = "BSD-3-Clause & GPL-2.0-only"
+LIC_FILES_CHKSUM = " \
+ file://virtio_can.h;endline=4;md5=d93ffb4ab090b382cbcda4cb2c0e5c9c \
+ file://virtio_can.c;endline=5;md5=06e45bdf8cb26f6a72e240cb1b0c18c2 \
+"
+
+inherit module
+
+SRC_URI = " \
+ file://Kbuild \
+ file://virtio_can.c \
+ file://virtio_can.h \
+"
+
+S = "${WORKDIR}"
+
+MAKE_TARGETS = "-C ${STAGING_KERNEL_DIR} M=${WORKDIR} MODULE_GIT_REPOSITORY_DIR=${METADIR}/meta-agl-devel"
+MODULES_INSTALL_TARGET = "-C ${STAGING_KERNEL_DIR} M=${WORKDIR} modules_install"