Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 117587 Details for
Bug 157987
KVM user space (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
kvm-configure-21.patch
kvm-configure-21.patch (text/plain), 1.84 KB, created by
Matthew Schultz
on 2007-04-28 20:49:36 UTC
(
hide
)
Description:
kvm-configure-21.patch
Filename:
MIME Type:
Creator:
Matthew Schultz
Created:
2007-04-28 20:49:36 UTC
Size:
1.84 KB
patch
obsolete
>--- configure.orig 2007-04-28 14:54:33.749778849 -0500 >+++ configure 2007-04-28 14:57:36.112171089 -0500 >@@ -15,20 +15,11 @@ > --prefix=PREFIX where to install things ($prefix) > --with-patched-kernel don't use external module > --kerneldir=DIR kernel build directory ($kerneldir) >- --qemu-cc="$qemu_cc" compiler for qemu (needs gcc3.x) ($qemu_cc) >- --disable-gcc-check don't insist on gcc-3.x >- - this will break running without kvm > EOF > exit 1 > } > > >-# prefer gcc if its version is 3.* ( over a compat-gcc ) >-# do it before parsing command line arguments to enable the user >-# to specify a specific gcc he/she likes. >-if gcc -v 2>&1 | grep -q 'gcc *version *3\.[2-4]\.[0-9]'; then >- qemu_cc=gcc >-fi > > while [[ "$1" = -* ]]; do > opt="$1"; shift >@@ -47,25 +38,12 @@ > --with-patched-kernel) > want_module= > ;; >- --qemu-cc) >- qemu_cc="$arg" >- ;; >- --disable-gcc-check) >- disable_gcc_check=1 >- ;; >- --help) >- usage >- ;; > *) > usage > ;; > esac > done > >-if [[ -z "$qemu_cc" ]]; then >- echo "$0: cannot locate gcc 3.x. please install it or specify with --qemu-cc" >- exit 1 >-fi > > libkvm_kerneldir="$kerneldir" > if (( want_module )); then >@@ -81,20 +59,17 @@ > } > > (cd user; ./configure --prefix="$prefix" --kerneldir="$libkvm_kerneldir") >-(cd qemu; ./configure --target-list=$(target_cpu)-softmmu --cc="$qemu_cc" \ >+(cd qemu; ./configure --target-list=$(target_cpu)-kvm \ > --disable-kqemu --extra-cflags="-I $PWD/../user" \ > --extra-ldflags="-L $PWD/../user" \ > --enable-kvm --kernel-path="$libkvm_kerneldir" \ > --enable-alsa \ >- ${disable_gcc_check:+"--disable-gcc-check"} \ >+ --disable-gcc-check \ > --prefix="$prefix" > ) > >- >- > cat <<EOF > config.mak > PREFIX=$prefix > KERNELDIR=$kerneldir > WANT_MODULE=$want_module > EOF >-
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 157987
:
108867
|
109180
|
109596
|
109612
|
109613
|
109614
|
109615
|
109929
|
110542
|
110544
|
111591
|
111593
|
111594
|
111721
|
111722
|
111725
|
111726
|
111727
|
111730
|
111731
|
111732
|
117585
|
117587
|
117589
|
117590
|
117592
|
117594
|
117595
|
117596
|
117597
|
119450
|
119452
|
119454
|
120155
|
120283
|
120488
|
121167
|
121170
|
121172
|
121174
|
121176
|
121177
|
121179
|
121181
|
121183
|
124934
|
124936
|
124937
|
124939
|
125905
|
125989
|
125991
|
125993
|
125994
|
125996
|
126072
|
130577
|
131298
|
132381
|
132382
|
132422
|
132486
|
132866
|
132899
|
133157
|
133510
|
133515
|
133859
|
137185
|
137723
|
137946
|
139324
|
139488
|
140913