rpms/kernel/devel kernel-2.6.spec,1.3169,1.3170

Jarod Wilson (jwilson) fedora-extras-commits at redhat.com
Fri May 18 16:11:16 UTC 2007


Author: jwilson

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16393

Modified Files:
	kernel-2.6.spec 
Log Message:
Add --with xenonly build option for future use if/when kernel-xen gets spun off main kernel package again...


Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel-2.6.spec,v
retrieving revision 1.3169
retrieving revision 1.3170
diff -u -r1.3169 -r1.3170
--- kernel-2.6.spec	18 May 2007 14:56:42 -0000	1.3169
+++ kernel-2.6.spec	18 May 2007 16:11:10 -0000	1.3170
@@ -33,6 +33,8 @@
 %define with_baseonly %{?_with_baseonly: 1} %{?!_with_baseonly: 0}
 # Only build the smp kernel (--with smponly):
 %define with_smponly  %{?_with_smponly:  1} %{?!_with_smponly:  0}
+# Only build the xen kernel (--with xenonly):
+%define with_xenonly  %{?_with_xenonly:  1} %{?!_with_xenonly:  0}
 
 # Whether or not to gpg sign modules
 %define with_modsign 1
@@ -92,6 +94,15 @@
 %define with_debug 0
 %endif
 
+# if requested, only build xen kernel
+%if %{with_xenonly}
+%define with_up 0
+%define with_smp 0
+%define with_pae 0
+%define with_kdump 0
+%define with_debug 0
+%endif
+
 # don't build xen or kdump kernels for OLPC
 %if 0%{?olpc}
 %define with_xen 0




More information about the fedora-extras-commits mailing list