SPECS (LINUX_2_6): kernel.spec - _rel 0.2, - bconded preemptive.

cieciwa cieciwa at pld-linux.org
Tue Mar 21 13:25:12 CET 2006


Author: cieciwa                      Date: Tue Mar 21 12:25:12 2006 GMT
Module: SPECS                         Tag: LINUX_2_6
---- Log message:
- _rel 0.2,
- bconded preemptive. 

---- Files affected:
SPECS:
   kernel.spec (1.441.2.1427 -> 1.441.2.1428) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1427 SPECS/kernel.spec:1.441.2.1428
--- SPECS/kernel.spec:1.441.2.1427	Tue Mar 21 10:57:13 2006
+++ SPECS/kernel.spec	Tue Mar 21 13:25:06 2006
@@ -8,6 +8,8 @@
 %bcond_without	up		# don't build UP kernel
 %bcond_without	source		# don't build kernel-source package
 %bcond_without	pcmcia		# don't build pcmcia
+
+%bcond_with     preemptive      # build preemptive (realtime) kernel
 %bcond_with	verbose		# verbose build (V=1)
 
 
@@ -59,7 +61,7 @@
 %define		_udev_ver		071
 %define		_mkvmlinuz_ver		1.3
 
-%define		_rel			0.1
+%define		_rel			0.2
 
 %define		_netfilter_snap		20051125
 %define		_nf_hipac_ver		0.9.1
@@ -605,6 +607,12 @@
 	TuneUpConfigForIX86 arch/%{_target_base_arch}/defconfig
 
 	cat %{SOURCE40} >> arch/%{_target_base_arch}/defconfig
+
+%if %{with preemptive}
+	sed -i "s:CONFIG_PREEMPT_NONE=y:# CONFIG_PREEMPT_NONE is not set:" arch/%{_target_base_arch}/defconfig
+	sed -i "s:# CONFIG_PREEMPT is not set:CONFIG_PREEMPT=y:" arch/%{_target_base_arch}/defconfig
+	echo "# CONFIG_DEBUG_PREEMPT is not set" >> arch/%{_target_base_arch}/defconfig
+%endif
 	
 %{?debug:sed -i "s:# CONFIG_DEBUG_SLAB is not set:CONFIG_DEBUG_SLAB=y:" arch/%{_target_base_arch}/defconfig}
 %{?debug:sed -i "s:# CONFIG_DEBUG_PREEMPT is not set:CONFIG_DEBUG_PREEMPT=y:" arch/%{_target_base_arch}/defconfig}
@@ -1296,6 +1304,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1428  2006/03/21 12:25:06  cieciwa
+- _rel 0.2,
+- bconded preemptive.
+
 Revision 1.441.2.1427  2006/03/21 09:57:13  cieciwa
 - _rel 0.1.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kernel.spec?r1=1.441.2.1427&r2=1.441.2.1428&f=u



More information about the pld-cvs-commit mailing list