mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/qemu-kvm: Build only x86 and x86_64 stuff by default
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
2f37d2ee5f
commit
3a581f7380
2 changed files with 19 additions and 7 deletions
|
@ -19,3 +19,11 @@ After package installation, make sure you have the KVMGROUP present on
|
|||
your system and that all desired users are members of that group.
|
||||
Don't forget to load the KVM-INTEL or KVM-AMD module depending on your
|
||||
processor.
|
||||
|
||||
The script builds only x86 and x86_64 Linux Target CPU emulators by default.
|
||||
If you need to emulate all target CPUs, set BUILD_ARCH to "all" but be
|
||||
aware that the compilation will take a lot longer, and you should really
|
||||
be using plain "qemu" for the others (since they can't use the KVM stuff
|
||||
anyway. The default "x86_64" value works fine for for 32-bit or 64-bit
|
||||
QEMU-KVM hosts providing full system emulation supporting Linux, BSD, and
|
||||
Windows guests.
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
PRGNAM=qemu-kvm
|
||||
VERSION=${VERSION:-0.14.0}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
KVMGROUP=${KVMGROUP:-kvm}
|
||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
|||
esac
|
||||
fi
|
||||
|
||||
# The script is set to build all possible Linux Target CPU emulators by default.
|
||||
# The script builds only x86 and x86_64 Linux Target CPU emulators by default.
|
||||
# Available Linux Target CPUs for full system emulation are:
|
||||
# i386 x86_64 arm cris m68k microblaze mips mipsel mips64 mips64el
|
||||
# ppc ppcemb ppc64 sh4 sh4eb sparc sparc64
|
||||
|
@ -44,11 +44,15 @@ fi
|
|||
# i386 x86_64 alpha arm armeb cris m68k microblaze mips mipsel
|
||||
# ppc ppc64 ppc64abi32 sh4 sh4eb sparc sparc64 sparc32plus
|
||||
#
|
||||
# To reduce compile time and package size modify the BUILD ARCH line below
|
||||
# from BUILD_ARCH="" to BUILD_ARCH="x86_64" if you DO NOT need to emulate
|
||||
# all target CPUs. This works fine for 32-bit or 64-bit QEMU-KVM hosts
|
||||
# providing full system emulation supporting Linux, BSD and Windows guests.
|
||||
BUILD_ARCH=""
|
||||
# If you need to emulate all target CPUs, set BUILD_ARCH to "all" but be
|
||||
# aware that the compilation will take a lot longer, and you should really
|
||||
# be using plain "qemu" for the others (since they can't use the KVM stuff
|
||||
# anyway. The default "x86_64" value works fine for for 32-bit or 64-bit
|
||||
# QEMU-KVM hosts providing full system emulation supporting Linux, BSD, and
|
||||
# Windows guests.
|
||||
|
||||
BUILD_ARCH=${BUILD_ARCH:-x86_64}
|
||||
[ "$BUILD_ARCH" = "all" ] && unset BUILD_ARCH
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
|
|
Loading…
Reference in a new issue