Changeset dc5c303 in mainline for contrib/qemu/build-from-scratch.sh
- Timestamp:
- 2023-12-28T13:59:23Z (15 months ago)
- Children:
- 6b66de6b
- Parents:
- 42c2e65 (diff), f87ff8e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- boba-buba <120932204+boba-buba@…> (2023-12-28 13:59:23)
- git-committer:
- GitHub <noreply@…> (2023-12-28 13:59:23)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/qemu/build-from-scratch.sh
r42c2e65 rdc5c303 29 29 # 30 30 31 VERSION= 6.2.031 VERSION=8.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 ://git.qemu.org/qemu.git37 REPO=git@github.com:qemu/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" 44 45 45 46 echo "==== Downloading OpenSPARC archive ====" … … 77 78 echo "==== Installing OpenSPARC binaries ====" 78 79 79 sudo install -d /usr/local/opensparc/image 80 sudo install -m 0444 binaries/* /usr/local/opensparc/image 80 install -d "$INSTALL_PREFIX/opensparc/image" 81 install -m 0444 binaries/* "$INSTALL_PREFIX/opensparc/image" 81 82 82 83 echo "==== Obtaining QEMU sources ====" … … 94 95 fi 95 96 96 gpg -- verify ${TARBALL}.sig ${TARBALL}97 gpg --auto-key-retrieve --verify ${TARBALL}.sig ${TARBALL} 97 98 if [ $? -ne 0 ]; then 98 99 echo Unable to verify the signature … … 100 101 fi 101 102 102 tar xvfj ${TARBALL} 103 echo "==== Decompressing QEMU sources ====" 104 tar xfj ${TARBALL} 103 105 cd ${SOURCEDIR} 104 106 fi … … 106 108 echo "==== Configuring QEMU ====" 107 109 108 ./configure --target-list=i386-softmmu,x86_64-softmmu,arm-softmmu,aarch64-softmmu,ppc-softmmu,sparc64-softmmu,mips-softmmu,mipsel-softmmu -- audio-drv-list=pa110 ./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 1 109 111 110 112 echo "==== Building QEMU ====" 111 113 112 make -j 4114 make -j`nproc` || exit 1 113 115 114 116 echo "==== Installing QEMU ====" 115 117 116 sudo make install 117 118 make install
Note:
See TracChangeset
for help on using the changeset viewer.