diff options
Diffstat (limited to 'meta-egvirt/dynamic-layers/raspberrypi/recipes-kernel')
6 files changed, 32 insertions, 0 deletions
diff --git a/meta-egvirt/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-common/enable-virtio.cfg b/meta-egvirt/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-common/enable-virtio.cfg new file mode 100644 index 00000000..82ff9ea1 --- /dev/null +++ b/meta-egvirt/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-common/enable-virtio.cfg @@ -0,0 +1,6 @@ +CONFIG_VIRTIO=y +CONFIG_VIRTIO_MMIO=y +CONFIG_VIRTIO_BLK=y +CONFIG_VIRTIO_BLK_SCSI=y +CONFIG_VIRTIO_PCI=y +CONFIG_VIRTIO_PCI_LEGACY=y diff --git a/meta-egvirt/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-common/virtio_can.cfg b/meta-egvirt/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-common/virtio_can.cfg new file mode 100644 index 00000000..302e4ddb --- /dev/null +++ b/meta-egvirt/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-common/virtio_can.cfg @@ -0,0 +1 @@ +CONFIG_CAN_DEV=m diff --git a/meta-egvirt/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-common/virtio_input.cfg b/meta-egvirt/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-common/virtio_input.cfg new file mode 100644 index 00000000..55e65d1b --- /dev/null +++ b/meta-egvirt/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-common/virtio_input.cfg @@ -0,0 +1,2 @@ +CONFIG_INPUT=y +CONFIG_INPUT_EVDEV=y diff --git a/meta-egvirt/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-common/virtio_loopback.cfg b/meta-egvirt/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-common/virtio_loopback.cfg new file mode 100644 index 00000000..51c8a2d3 --- /dev/null +++ b/meta-egvirt/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-common/virtio_loopback.cfg @@ -0,0 +1,7 @@ +CONFIG_HW_RANDOM_VIRTIO=m +CONFIG_VIRTIO_INPUT=m +CONFIG_VIRTIO_CAN=m +CONFIG_VIRTIO_GPIO=m +CONFIG_VIRTIO_CONSOLE=m +CONFIG_VIRTIO_BLK=m +CONFIG_SND_VIRTIO=m diff --git a/meta-egvirt/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-common/virtio_sound.cfg b/meta-egvirt/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-common/virtio_sound.cfg new file mode 100644 index 00000000..2e9486e2 --- /dev/null +++ b/meta-egvirt/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-common/virtio_sound.cfg @@ -0,0 +1,6 @@ +CONFIG_SND=y +CONFIG_SOUND=y +CONFIG_SND_TIMER=y +CONFIG_SND_PCM=y +CONFIG_SND_JACK=y +CONFIG_SND_JACK_INPUT_DEV=y diff --git a/meta-egvirt/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend b/meta-egvirt/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend new file mode 100644 index 00000000..1de2965f --- /dev/null +++ b/meta-egvirt/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend @@ -0,0 +1,10 @@ + +FILESEXTRAPATHS:prepend := "${THISDIR}/linux-common/:" + +SRC_URI:append = " \ + file://enable-virtio.cfg \ + file://virtio_can.cfg \ + file://virtio_input.cfg \ + file://virtio_loopback.cfg \ + file://virtio_sound.cfg \ +" |