Author: sparky Date: Fri Sep 19 12:36:00 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - some ppc progress
---- Files affected: SPECS: kvm.spec (1.61 -> 1.62) ---- Diffs: ================================================================ Index: SPECS/kvm.spec diff -u SPECS/kvm.spec:1.61 SPECS/kvm.spec:1.62 --- SPECS/kvm.spec:1.61 Fri Sep 19 11:54:29 2008 +++ SPECS/kvm.spec Fri Sep 19 14:35:55 2008 @@ -37,6 +37,7 @@ URL: http://kvm.qumranet.com/kvmwiki BuildRequires: bash BuildRequires: sed >= 4.0 +BuildRequires: kernel%{_alt_kernel}-headers %if %{with kernel} BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2 BuildRequires: rpmbuild(macros) >= 1.379 @@ -56,12 +57,18 @@ %endif %endif # ppc broken? needed libfdt fix -ExclusiveArch: %{ix86} %{x8664} ia64 +ExclusiveArch: %{ix86} %{x8664} ia64 ppc BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) # some SPARC boot image in ELF format %define _noautostrip .*%{_datadir}/qemu/openbios-sparc.* +%ifarch ppc +%define karch powerpc +%else +%define karch %{_arch} +%endif + %description KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware. It consists of a loadable kernel @@ -121,10 +128,14 @@ %{!?with_kernel:--with-patched-kernel} \ %{!?with_userspace:--disable-sdl} \ %{!?with_userspace:--disable-gfx-check} \ + --arch=%{karch} \ --disable-gcc-check \ --disable-werror \ --prefix=%{_prefix} \ - --kerneldir=$PWD/kernel + --kerneldir=%{_kernelsrcdir} + +rm -f kernel/include/asm +ln -s %{_kernelsrcdir}/include/asm-%{karch} kernel/include/asm %if %{with userspace} %{__make} qemu \ @@ -205,6 +216,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.62 2008/09/19 12:35:55 sparky +- some ppc progress + Revision 1.61 2008/09/19 09:54:29 paszczus - Error: Could not find libfdt on ppc ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kvm.spec?r1=1.61&r2=1.62&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit