SPECS: kvm.spec - fix dist-wide KVM_CAP_* detection. - enable alsa backend.
pluto
pluto at pld-linux.org
Mon Dec 8 14:07:28 CET 2008
Author: pluto Date: Mon Dec 8 13:07:28 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fix dist-wide KVM_CAP_* detection.
- enable alsa backend.
---- Files affected:
SPECS:
kvm.spec (1.70 -> 1.71)
---- Diffs:
================================================================
Index: SPECS/kvm.spec
diff -u SPECS/kvm.spec:1.70 SPECS/kvm.spec:1.71
--- SPECS/kvm.spec:1.70 Sun Dec 7 11:46:24 2008
+++ SPECS/kvm.spec Mon Dec 8 14:07:23 2008
@@ -140,11 +140,19 @@
sed -i -e 's#header-sync-$(if $(WANT_MODULE),n,y)#header-sync-n#g' Makefile
%build
+%if %{without kernel}
+# qemu/configure uses linux/kvm.h to detect available features (KVM_CAP_* defs).
+rm -r kernel/include/*
+ln -s %{_kernelsrcdir}/include/* kernel/include
+ln -s asm-%{karch} kernel/include/asm
+%endif
+
# not ac stuff
./configure \
%{!?with_kernel:--with-patched-kernel} \
%{!?with_userspace:--disable-sdl} \
%{!?with_userspace:--disable-gfx-check} \
+ --audio-drv-list=oss,alsa \
--arch=%{carch} \
--disable-gcc-check \
--disable-werror \
@@ -153,12 +161,8 @@
echo "CFLAGS=%{rpmcflags}" >> user/config.mak
-rm -r kernel/include/*
-ln -s %{_kernelsrcdir}/include/* kernel/include
-ln -s asm-%{karch} kernel/include/asm
-
%if %{with userspace}
-%{__make} qemu -j1 \
+%{__make} qemu \
CC="%{__cc}"
%endif
@@ -236,6 +240,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.71 2008/12/08 13:07:23 pluto
+- fix dist-wide KVM_CAP_* detection.
+- enable alsa backend.
+
Revision 1.70 2008/12/07 10:46:24 pluto
- updated to 80, parallel build disabled.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kvm.spec?r1=1.70&r2=1.71&f=u
More information about the pld-cvs-commit
mailing list