SPECS (LINUX_2_6): kernel.spec - allow building UP kernel (on request only)...

sparky sparky at pld-linux.org
Fri Sep 26 23:10:08 CEST 2008


Author: sparky                       Date: Fri Sep 26 21:10:08 2008 GMT
Module: SPECS                         Tag: LINUX_2_6
---- Log message:
- allow building UP kernel (on request only), there still are features broken
  on SMP, like hibernation in powerpc

---- Files affected:
SPECS:
   kernel.spec (1.441.2.1965 -> 1.441.2.1966) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1965 SPECS/kernel.spec:1.441.2.1966
--- SPECS/kernel.spec:1.441.2.1965	Fri Sep 26 21:14:59 2008
+++ SPECS/kernel.spec	Fri Sep 26 23:10:00 2008
@@ -40,6 +40,7 @@
 
 %bcond_with	rescuecd	# build kernel for our rescue
 
+%bcond_without	smp		# build uniprocessor instead of SMP kernel
 %bcond_with	myown		# build with your own config (kernel-myown.config)
 
 %{?debug:%define with_verbose 1}
@@ -1056,6 +1057,10 @@
 		CONFIG_RT_DEADLOCK_DETECT=y
 %endif
 
+%if %{without smp}
+		CONFIG_SMP=n
+%endif
+
 # apparmor, will be moved to external file if works
 %if %{with apparmor}
 		CONFIG_SECURITY_APPARMOR=y
@@ -1675,6 +1680,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1966  2008/09/26 21:10:00  sparky
+- allow building UP kernel (on request only), there still are features broken
+  on SMP, like hibernation in powerpc
+
 Revision 1.441.2.1965  2008/09/26 19:14:59  sparky
 - CONFIG_DEBUG_SLAB_LEAK=y when building debug kernel
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kernel.spec?r1=1.441.2.1965&r2=1.441.2.1966&f=u



More information about the pld-cvs-commit mailing list