mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-04 22:17:45 +08:00
Adds VxWorks with intel skylake VSB. Change-Id: I2e6b1c1f7a45657d81c29fc3a5c8fe8526d4ad29 Reviewed-by: Simo Fält <simo.falt@qt.io>
29 lines
1.0 KiB
Bash
Executable File
29 lines
1.0 KiB
Bash
Executable File
#!/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,x86_64-softmmu --prefix=/opt/qemu-${QEMU_VER}
|
|
make -j8 -s
|
|
sudo make -s install
|
|
sudo mkdir -p /usr/share/qemu/keymaps
|
|
sudo cp -r "$targetFolder/build/pc-bios/keymaps" "/usr/share/qemu/"
|
|
rm -rf $targetFolder
|
|
|
|
SetEnvVar "VXWORKS_QEMU" "/opt/qemu-$QEMU_VER"
|