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