Changes in contrib/qemu/build-from-scratch.sh [aba2d04:051349b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/qemu/build-from-scratch.sh
raba2d04 r051349b 29 29 # 30 30 31 VERSION= 9.1.031 VERSION=6.0.0 32 32 BASENAME=qemu-${VERSION} 33 33 BASENAME_MASTER=qemu-master … … 35 35 SOURCEDIR=${BASENAME} 36 36 URL=https://download.qemu.org/${TARBALL} 37 REPO=git @github.com:qemu/qemu.git37 REPO=git://git.qemu.org/qemu.git 38 38 39 39 OPENSPARC_TARBALL="OpenSPARCT1_Arch.1.5.tar.bz2" … … 42 42 ARCHIVE_PREFIX="./S10image" 43 43 BINARIES="1up-hv.bin 1up-md.bin nvram1 openboot.bin q.bin reset.bin" 44 INSTALL_PREFIX="$HOME/.local"45 44 46 45 echo "==== Downloading OpenSPARC archive ====" … … 78 77 echo "==== Installing OpenSPARC binaries ====" 79 78 80 install -d "$INSTALL_PREFIX/opensparc/image" 81 install -m 0444 binaries/* "$INSTALL_PREFIX/opensparc/image" 79 sudo install -d /usr/local/opensparc/image 80 sudo install -m 0444 binaries/* /usr/local/opensparc/image 82 81 83 82 echo "==== Obtaining QEMU sources ====" … … 95 94 fi 96 95 97 gpg -- auto-key-retrieve --verify ${TARBALL}.sig ${TARBALL}96 gpg --verify ${TARBALL}.sig ${TARBALL} 98 97 if [ $? -ne 0 ]; then 99 98 echo Unable to verify the signature … … 101 100 fi 102 101 103 echo "==== Decompressing QEMU sources ====" 104 tar xfj ${TARBALL} 102 tar xvfj ${TARBALL} 105 103 cd ${SOURCEDIR} 106 104 fi … … 108 106 echo "==== Configuring QEMU ====" 109 107 110 ./configure --target-list=i386-softmmu,x86_64-softmmu,arm-softmmu,aarch64-softmmu,ppc-softmmu,sparc64-softmmu,mips-softmmu,mipsel-softmmu -- enable-gtk --enable-vte --enable-kvm --enable-curses --enable-opengl --enable-slirp --enable-pa --audio-drv-list=pa --prefix="$INSTALL_PREFIX" || exit 1108 ./configure --target-list=i386-softmmu,x86_64-softmmu,arm-softmmu,aarch64-softmmu,ppc-softmmu,sparc64-softmmu,mips-softmmu,mipsel-softmmu --audio-drv-list=pa 111 109 112 110 echo "==== Building QEMU ====" 113 111 114 make -j `nproc` || exit 1112 make -j 4 115 113 116 114 echo "==== Installing QEMU ====" 117 115 118 make install 116 sudo make install 117
Note:
See TracChangeset
for help on using the changeset viewer.