rpms/kernel/F-12 kernel.spec,1.1908,1.1909

Jarod Wilson jwilson at fedoraproject.org
Thu Nov 5 15:04:40 UTC 2009


Author: jwilson

Update of /cvs/pkgs/rpms/kernel/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23008

Modified Files:
	kernel.spec 
Log Message:
* Thu Nov 05 2009 Jarod Wilson <jarod at redhat.com>
- Add --with dbgonly rpmbuild option to build only debug kernels



Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-12/kernel.spec,v
retrieving revision 1.1908
retrieving revision 1.1909
diff -u -p -r1.1908 -r1.1909
--- kernel.spec	5 Nov 2009 06:09:45 -0000	1.1908
+++ kernel.spec	5 Nov 2009 15:04:39 -0000	1.1909
@@ -122,6 +122,8 @@ Summary: The Linux kernel
 %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 debug kernel (--with dbgonly):
+%define with_dbgonly   %{?_with_dbgonly:      1} %{?!_with_dbgonly:      0}
 
 # should we do C=1 builds with sparse
 %define with_sparse	%{?_with_sparse:      1} %{?!_with_sparse:      0}
@@ -221,6 +223,17 @@ Summary: The Linux kernel
 %define with_debug 0
 %endif
 
+# if requested, only build debug kernel
+%if %{with_dbgonly}
+%if %{debugbuildsenabled}
+%define with_up 0
+%endif
+%define with_smp 0
+%define with_pae 0
+%define with_xen 0
+%define with_kdump 0
+%endif
+
 %define all_x86 i386 i686
 
 %if %{with_vdso_install}
@@ -2146,6 +2159,9 @@ fi
 # and build.
 
 %changelog
+* Thu Nov 05 2009 Jarod Wilson <jarod at redhat.com>
+- Add --with dbgonly rpmbuild option to build only debug kernels
+
 * Thu Nov 05 2009 Dave Airlie <airlied at redhat.com> 2.6.31.5-122
 - comment out kmap atomic for now, it breaks ppc build
 




More information about the fedora-extras-commits mailing list