Changeset 4ad76fa in mainline
- Timestamp:
- 2023-10-19T18:51:14Z (14 months ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 972c428c
- Parents:
- d4643db
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/qemu/build-from-scratch.sh
rd4643db r4ad76fa 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-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.