[Fedora-xen] [PATCH] Enable building xen on ia64

Aron Griffis aron at hp.com
Thu Jul 27 15:14:14 UTC 2006


Hi Juan,

After you apply the patch bomb I sent last night, here is the
kernel-2.6.spec patch to enable building xen on ia64.  If possible,
we (Prarit and I) would like these patches applied ASAP so that
xen-ia64 can land in today's rpms.

Additionally this patch removes a redundant buildkdump setting for
ppc64.  Since buildkdump defaults to 1 at the top of the spec, there's
no reason for ppc64 to have the special case.

Regards,
Aron

# HG changeset patch
# User agriffis at cheo.zko.hp.com
# Node ID 0d2d750a9002f1ecc354a352b1b88602485ba8f6
# Parent  4cf516051efbc66f7fa32fd289780328785a6ba9
Enable building xen on ia64.  
Also remove redundant buildkdump setting for ppc64.

Signed-off-by: Aron Griffis <aron at hp.com>

diff -r 4cf516051efb -r 0d2d750a9002 devel/kernel-2.6.spec
--- a/devel/kernel-2.6.spec	Thu Jul 27 07:19:58 2006 -0400
+++ b/devel/kernel-2.6.spec	Thu Jul 27 10:39:44 2006 -0400
@@ -65,14 +65,8 @@ Summary: The Linux kernel (the core of t
 %endif
 
 # Xen only builds on i686, x86_64 and ia64 ...
-#%ifnarch i686 x86_64 ia64
-%ifnarch i686 x86_64
+%ifnarch i686 x86_64 ia64
 %define buildxen 0
-%endif
-
-
-%ifarch ppc64
-%define buildkdump 1
 %endif
 
 # Second, per-architecture exclusions (ifarch)
@@ -812,11 +806,10 @@ cd linux-%{kversion}.%{_target_cpu}
 #%patch951 -p1
 %patch950 -p1 -b .p.xen
 #
-# ... and back out all the ia64-specific sections, as they currently prevent
+# ... and back out all the tpm-specific sections, as they currently prevent
 # non-xen builds from working.
-# Now also with tpm
-#
-for f in `find drivers/char/tpm arch/ia64/ include/asm-ia64/ include/xen/interface/arch-ia64.h* -type f -name "*.p.xen"` ; do \
+#
+for f in `find drivers/char/tpm -type f -name "*.p.xen"` ; do \
     g=`dirname $f`/`basename $f .p.xen`; \
     mv "$f" "$g"; \
     if [ ! -s "$g" ] ; then rm -f "$g" ; fi; \




More information about the Fedora-xen mailing list