mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-26 22:58:17 +08:00
Enable tests for VxWorks target
Updates VSB and VIP. Adds newer updated QEMU for VxWorks. Set to build and run tests on qtbase. Change-Id: I1dc97a48ff67dedd79de3659d2af2768616c61ca Reviewed-by: Matti Paaso <matti.paaso@qt.io>
This commit is contained in:
28
coin/provisioning/common/linux/install-vxworks-qemu.sh
Executable file
28
coin/provisioning/common/linux/install-vxworks-qemu.sh
Executable file
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../unix/InstallFromCompressedFileFromURL.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
QEMU_VER="8.2.3"
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/qemu/qemu-$QEMU_VER.tar.xz"
|
||||
AltUrl="https://download.qemu.org/qemu-$QEMU_VER.tar.xz"
|
||||
SHA1="1b29c8105cf8d15b9e7fb6f8e85170b6c54a1788"
|
||||
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "/tmp" "$appPrefix"
|
||||
|
||||
targetFolder=/tmp/qemu-${QEMU_VER}
|
||||
mkdir -p "$targetFolder/build"
|
||||
cd "$targetFolder/build"
|
||||
../configure --target-list=arm-softmmu
|
||||
make -j8
|
||||
sudo mkdir -p /usr/share/qemu/keymaps
|
||||
sudo cp -r "$targetFolder/build/pc-bios/keymaps" "/usr/share/qemu/"
|
||||
sudo mv "$targetFolder/build" "/opt/qemu-$QEMU_VER"
|
||||
rm -rf $targetFolder
|
||||
|
||||
SetEnvVar "VXWORKS_QEMU" "/opt/qemu-$QEMU_VER"
|
||||
Reference in New Issue
Block a user