Changeset bf45993 in mainline for contrib/qfs/qfs.sh
- Timestamp:
- 2014-09-19T10:56:30Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6b646dc
- Parents:
- 824208bf (diff), 58f26cb (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/qfs/qfs.sh
r824208bf rbf45993 1 #!/usr/bin/bash 1 #!/bin/bash 2 2 3 # 3 # Copyright (c) 2014 Jakub Jermar 4 # Copyright (c) 2014 Jakub Jermar 4 5 # All rights reserved. 5 6 # … … 30 31 VERSION=2.1.1 31 32 BASENAME=qemu-${VERSION} 33 BASENAME_MASTER=qemu-master 32 34 TARBALL=${BASENAME}.tar.bz2 33 35 SOURCEDIR=${BASENAME} 34 36 URL=http://wiki.qemu-project.org/download/${TARBALL} 37 REPO=git://git.qemu.org/qemu.git 35 38 MD5="78b1b51bfa2eee424e1bfdf3b66daa64" 36 39 37 if [ ! -f ${TARBALL} ]; 38 then 39 wget ${URL} 40 if [ "$1" == "--master" ]; then 41 git clone ${REPO} ${BASENAME_MASTER} 42 cd ${BASENAME_MASTER} 43 else 44 if [ ! -f ${TARBALL} ]; then 45 wget ${URL} 46 fi 47 48 if [ "`md5sum ${TARBALL} | cut -f 1 -d " "`" != ${MD5} ]; then 49 echo Wrong MD5 checksum 50 exit 51 fi 52 53 tar xvfj ${TARBALL} 54 cd ${SOURCEDIR} 40 55 fi 41 56 42 if [ `md5sum ${TARBALL} | cut -f 1 -d " "` != ${MD5} ];43 then44 echo Wrong MD5 checksum45 exit46 fi47 48 tar xvfj ${TARBALL}49 50 cd ${SOURCEDIR}51 52 57 ./configure --target-list=i386-softmmu,x86_64-softmmu,arm-softmmu,ppc-softmmu,sparc-softmmu,sparc64-softmmu,mips-softmmu,mipsel-softmmu --audio-drv-list=pa 53 54 58 make -j 4 55 56 59 sudo make install 57
Note:
See TracChangeset
for help on using the changeset viewer.