SPECS (LINUX_2_6): kernel.spec - lets try to move config preparing...

blues blues at pld-linux.org
Sun Nov 5 13:07:50 CET 2006


Author: blues                        Date: Sun Nov  5 12:07:50 2006 GMT
Module: SPECS                         Tag: LINUX_2_6
---- Log message:
- lets try to move config preparing to setup

---- Files affected:
SPECS:
   kernel.spec (1.441.2.1652 -> 1.441.2.1653) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1652 SPECS/kernel.spec:1.441.2.1653
--- SPECS/kernel.spec:1.441.2.1652	Sun Nov  5 11:54:21 2006
+++ SPECS/kernel.spec	Sun Nov  5 13:07:44 2006
@@ -9,7 +9,6 @@
 # - reiser4
 # - Linux ABI
 # - grsecurity - does not builds --without grsecuriy
-# - move config preparing from build to setup
 #
 # WARNING: Kernels from 2.6.16.X series not work under OldWorldMac
 #
@@ -96,7 +95,7 @@
 %define		_udev_ver		071
 %define		_mkvmlinuz_ver		1.3
 
-%define		_rel			0.1
+%define		_rel			0.2
 
 %define		_old_netfilter_snap	20060504
 %define		_netfilter_snap		20060829
@@ -957,7 +956,6 @@
 # cleanup backups after patching
 find . '(' -name '*~' -o -name '*.orig' -o -name '.gitignore' ')' -print0 | xargs -0 -r -l512 rm -f
 
-%build
 TuneUpConfigForIX86 () {
 	set -x
 %ifarch %{ix86}
@@ -1094,6 +1092,11 @@
 	fi
 }
 
+# Prepare configs:
+BuildConfig
+BuildConfig smp
+
+%build
 BuildKernel() {
 	%{?debug:set -x}
 	echo "Building kernel $1 ..."
@@ -1202,7 +1205,6 @@
 # UP KERNEL
 KERNEL_INSTALL_DIR="$KERNEL_BUILD_DIR/build-done/kernel-UP"
 rm -rf $KERNEL_INSTALL_DIR
-BuildConfig
 %{__make} %CrossOpts include/linux/utsrelease.h
 cp include/linux/utsrelease.h{,.save}
 %if %{with up}
@@ -1213,7 +1215,6 @@
 # SMP KERNEL
 KERNEL_INSTALL_DIR="$KERNEL_BUILD_DIR/build-done/kernel-SMP"
 rm -rf $KERNEL_INSTALL_DIR
-BuildConfig smp
 %if %{with smp}
 BuildKernel smp
 PreInstallKernel smp
@@ -1751,6 +1752,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1653  2006/11/05 12:07:44  blues
+- lets try to move config preparing to setup
+
 Revision 1.441.2.1652  2006/11/05 10:54:21  blues
 - started update to 2.6.18.2 - ti_sd patch added
 
================================================================

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



More information about the pld-cvs-commit mailing list