aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2018-12-04 16:50:15 -0800
committerManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2019-06-28 15:06:26 -0700
commit1a46e8062b960bb1b92c9ab78949f41aa3db241a (patch)
tree9c0fb41c14b795b8a64b6a79eeb6afe41e849018
parent0668bac3c9dde4c7e301383691db22d0f7f411f3 (diff)
downloadmeta-xilinx-1a46e8062b960bb1b92c9ab78949f41aa3db241a.tar.gz
meta-xilinx-1a46e8062b960bb1b92c9ab78949f41aa3db241a.tar.bz2
meta-xilinx-1a46e8062b960bb1b92c9ab78949f41aa3db241a.zip
linux-xlnx.inc: Add support to build kernel for versal devices
Add support to build kernel for versal devices Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r--meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx.inc b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx.inc
index ec056db4..a597dca1 100644
--- a/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx.inc
+++ b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx.inc
@@ -30,12 +30,14 @@ COMPATIBLE_MACHINE ?= "^$"
COMPATIBLE_MACHINE_zynq = ".*"
COMPATIBLE_MACHINE_zynqmp = ".*"
COMPATIBLE_MACHINE_microblaze = ".*"
+COMPATIBLE_MACHINE_versal = ".*"
# Use DEFCONFIGs for configuring linux-xlnx kernels
KCONFIG_MODE ?= "alldefconfig"
KBUILD_DEFCONFIG_zynqmp = "xilinx_zynqmp_defconfig"
KBUILD_DEFCONFIG_zynq = "xilinx_zynq_defconfig"
KBUILD_DEFCONFIG_microblaze = "mmu_defconfig"
+KBUILD_DEFCONFIG_versal = "xilinx_versal_defconfig"
# Add meta-xilinx kmeta, used for MicroBlaze BSP fragments
FILESEXTRAPATHS_prepend := "${THISDIR}:"
@@ -48,3 +50,5 @@ KERNEL_FEATURES_append_zynqmp = "${@bb.utils.contains('DISTRO_FEATURES', 'xen',
KERNEL_FEATURES_append_zynqmp = "${@bb.utils.contains('IMAGE_FEATURES', 'fpga-manager', ' features/overlay/overlay.scc', '', d)}"
+KERNEL_FEATURES_append_versal = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' bsp/xilinx/xen.scc', '', d)}"
+