Skip to content

Commit

Permalink
GHI #20 Use qemu-arm for armhf
Browse files Browse the repository at this point in the history
  • Loading branch information
doodspav committed Nov 29, 2023
1 parent ecf8121 commit 5f5b389
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/toolchain-qemu-ubuntu-cross.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ set(CMAKE_SYSTEM_PROCESSOR "${architecture}")
set(qemu_command "qemu-${architecture}")
if(architecture STREQUAL "i686")
set(qemu_command "qemu-x86_64")
elseif(architecture STREQUAL "armhf")
set(qemu_command "qemu-arm")
endif()
set(CMAKE_SYSROOT "$ENV{HOME}/sysroot")
set(CMAKE_CROSSCOMPILING_EMULATOR "${qemu_command};-L;${CMAKE_SYSROOT}")
Expand Down

0 comments on commit 5f5b389

Please sign in to comment.