DESCRIPTION = "A minimal OpenAMP image"

INITRD_IMAGE = "core-image-minimal-initramfs"
LICENSE = "MIT"

inherit core-image

IMAGE_INSTALL += " \
    packagegroup-core-boot \
    ${CORE_IMAGE_EXTRA_INSTALL} \
    kernel-module-uio-pdrv-genirq \
    kernel-module-remoteproc \
    kernel-module-virtio \
    kernel-module-virtio-ring \
    kernel-module-virtio-rpmsg-bus \
    libmetal \
    open-amp \
    "

#IMAGE_INSTALL_append_zynqmp += " kernel-module-zynqmp-r5-remoteproc"
#IMAGE_INSTALL_append_zynq += " kernel-module-zynq-remoteproc"

IMAGE_LINGUAS=""

DESCRIPTION = "A minimal OpenAMP image"

INITRD_IMAGE = "core-image-minimal-initramfs"
LICENSE = "MIT"

inherit core-image

IMAGE_INSTALL += " \
    packagegroup-core-boot \
    ${CORE_IMAGE_EXTRA_INSTALL} \
    kernel-module-uio-pdrv-genirq \
    kernel-module-virtio-rpmsg-bus \
    libmetal \
    open-amp \
    "

#IMAGE_INSTALL_append_zynqmp += " kernel-module-zynqmp-r5-remoteproc"
#IMAGE_INSTALL_append_zynq += " kernel-module-zynq-remoteproc"

IMAGE_LINGUAS=""

Remove kernel modules that are now built-in.
images: Remove kernel modules that are now built-in.

In 5.4, the remoteproc, virtio, and virtio-rpmsg-bus drivers are built-in.
In the 4.19 kernel Xilinx previously used, they were modules. This causes
the build to fail as it can no longer find the modules.

Signed-off-by: Ed Mooring <65d0900e41fe99fb63fe087a4232af5265f5d575@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <dcd6f85a7bffd89d026445db0f5113d6d436d06a@xilinx.com>
