Skip to content

Commit

Permalink
vm_arm, zynqmp: add cmake option for petalinux
Browse files Browse the repository at this point in the history
This commit adds a CMake option to allow the VM to be configured for
different Petalinux versions. Currently, 2021.1 is supported; however,
this will allow additional versions to be easily added to the project.

Signed-off-by: Chris Guikema <[email protected]>
  • Loading branch information
chrisguikema committed Sep 21, 2023
1 parent bf28377 commit 672261a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions components/VM_Arm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,13 @@ config_option(
"KernelPlatformExynos5410 OR KernelPlatformExynos5422 OR KernelPlatformZynqmp"
)

config_choice(
VmZynqmpPetalinuxVersion
ZYNQMP_PETALINUX_VERSION
"The version of Petalinux to use"
"2021_1;VmZynqmpPetalinux2021_1;ZYNQMP_PETALINUX_2021_1;KernelPlatformZynqmp"
)

add_config_library(arm_vm "${configure_string}")

DeclareCAmkESARMVM(VM)

0 comments on commit 672261a

Please sign in to comment.