Skip to content

Commit

Permalink
vm_minimal, QEMU: block aarch32 build
Browse files Browse the repository at this point in the history
The QEMU/aarch32 platform is not supported actively at the moment for
virtualization.

Signed-off-by: Axel Heider <axelheider@gmx.de>
  • Loading branch information
axel-h authored and lsf37 committed Mar 16, 2024
1 parent 6656ebe commit 977022b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions apps/Arm/vm_minimal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,14 @@ elseif("${KernelARMPlatform}" STREQUAL "tx2")
AddToFileServer("linux-dtb" "${output_dtb_location}" DEPENDS dtb_gen_target)

elseif("${KernelARMPlatform}" STREQUAL "qemu-arm-virt")

# QEMU supports ARMv7/aarch32 and ARMv8/aarch32, but currently there are
# Linux images for aarch64 only. However, it is unclear if that is the only
# blocker to get this example run in QEMU on aarch32.
if(NOT KernelSel4ArchAarch64)
message(FATAL_ERROR "Only AARCH64 is supported")
endif()

find_package(camkes-vm-linux REQUIRED)
include(${CAMKES_VM_LINUX_HELPERS_PATH})
set(cpp_flags "-DKERNELARMPLATFORM_QEMU-ARM-VIRT")
Expand Down

0 comments on commit 977022b

Please sign in to comment.