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

Jarod Wilson jwilson at fedoraproject.org
Thu Nov 5 18:37:06 UTC 2009


Author: jwilson

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

Modified Files:
	kernel.spec 
Log Message:
make --with dbgonly actually work


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-12/kernel.spec,v
retrieving revision 1.1909
retrieving revision 1.1910
diff -u -p -r1.1909 -r1.1910
--- kernel.spec	5 Nov 2009 15:04:39 -0000	1.1909
+++ kernel.spec	5 Nov 2009 18:37:06 -0000	1.1910
@@ -89,7 +89,7 @@ Summary: The Linux kernel
 # kernel-headers
 %define with_headers   %{?_without_headers:   0} %{?!_without_headers:   1}
 # kernel-firmware
-%define with_firmware  %{?_with_firmware:  1} %{?!_with_firmware:  0}
+%define with_firmware  %{?_with_firmware:     1} %{?!_with_firmware:     0}
 # tools/perf
 %define with_perftool  %{?_without_perftool:  0} %{?!_without_perftool:  1}
 # perf noarch subpkg
@@ -232,6 +232,7 @@ Summary: The Linux kernel
 %define with_pae 0
 %define with_xen 0
 %define with_kdump 0
+%define with_perftool 0
 %endif
 
 %define all_x86 i386 i686
@@ -1799,13 +1800,12 @@ mkdir -p $RPM_BUILD_ROOT/boot
 cd linux-%{kversion}.%{_target_cpu}
 
 %if %{with_debug}
-%if %{with_up}
 BuildKernel %make_target %kernel_image debug
 %endif
-%if %{with_pae}
+
+%if %{with_pae_debug}
 BuildKernel %make_target %kernel_image PAEdebug
 %endif
-%endif
 
 %if %{with_pae}
 BuildKernel %make_target %kernel_image PAE
@@ -2148,9 +2148,7 @@ fi
 
 %kernel_variant_files %{with_up}
 %kernel_variant_files %{with_smp} smp
-%if %{with_up}
 %kernel_variant_files %{with_debug} debug
-%endif
 %kernel_variant_files %{with_pae} PAE
 %kernel_variant_files %{with_pae_debug} PAEdebug
 %kernel_variant_files -k vmlinux %{with_kdump} kdump




More information about the fedora-extras-commits mailing list