summaryrefslogtreecommitdiffstats
path: root/meta-uhmi/recipes-kernel/linux
diff options
context:
space:
mode:
Diffstat (limited to 'meta-uhmi/recipes-kernel/linux')
-rw-r--r--meta-uhmi/recipes-kernel/linux/linux-common/uinput.cfg2
-rw-r--r--meta-uhmi/recipes-kernel/linux/linux-common/virtio-gpu.cfg1
-rw-r--r--meta-uhmi/recipes-kernel/linux/linux-rvgpu.inc8
-rw-r--r--meta-uhmi/recipes-kernel/linux/linux-yocto_%.bbappend1
4 files changed, 12 insertions, 0 deletions
diff --git a/meta-uhmi/recipes-kernel/linux/linux-common/uinput.cfg b/meta-uhmi/recipes-kernel/linux/linux-common/uinput.cfg
new file mode 100644
index 00000000..fd1f78ea
--- /dev/null
+++ b/meta-uhmi/recipes-kernel/linux/linux-common/uinput.cfg
@@ -0,0 +1,2 @@
+CONFIG_INPUT_UINPUT=y
+CONFIG_INPUT_MISC=y
diff --git a/meta-uhmi/recipes-kernel/linux/linux-common/virtio-gpu.cfg b/meta-uhmi/recipes-kernel/linux/linux-common/virtio-gpu.cfg
new file mode 100644
index 00000000..5db61502
--- /dev/null
+++ b/meta-uhmi/recipes-kernel/linux/linux-common/virtio-gpu.cfg
@@ -0,0 +1 @@
+CONFIG_DRM_VIRTIO_GPU=y
diff --git a/meta-uhmi/recipes-kernel/linux/linux-rvgpu.inc b/meta-uhmi/recipes-kernel/linux/linux-rvgpu.inc
new file mode 100644
index 00000000..5d405afd
--- /dev/null
+++ b/meta-uhmi/recipes-kernel/linux/linux-rvgpu.inc
@@ -0,0 +1,8 @@
+DESCRIPTION = "Enable linux virtio-loopback driver"
+
+FILESEXTRAPATHS:prepend := "${THISDIR}/linux-common/:"
+
+SRC_URI:append = " \
+ file://virtio-gpu.cfg \
+ file://uinput.cfg \
+"
diff --git a/meta-uhmi/recipes-kernel/linux/linux-yocto_%.bbappend b/meta-uhmi/recipes-kernel/linux/linux-yocto_%.bbappend
new file mode 100644
index 00000000..9dd82e3c
--- /dev/null
+++ b/meta-uhmi/recipes-kernel/linux/linux-yocto_%.bbappend
@@ -0,0 +1 @@
+require linux-rvgpu.inc