SPECS: kernel-vanilla.spec - fix smp build if passed --without up ...

shadzik shadzik at pld-linux.org
Thu Dec 14 01:57:01 CET 2006


Author: shadzik                      Date: Thu Dec 14 00:57:01 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix smp build if passed --without up (try not to BuildConfig for an UP mashine when you just want the SMP one and vice versa)

---- Files affected:
SPECS:
   kernel-vanilla.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: SPECS/kernel-vanilla.spec
diff -u SPECS/kernel-vanilla.spec:1.20 SPECS/kernel-vanilla.spec:1.21
--- SPECS/kernel-vanilla.spec:1.20	Tue Dec 12 00:16:27 2006
+++ SPECS/kernel-vanilla.spec	Thu Dec 14 01:56:55 2006
@@ -736,8 +736,8 @@
 # UP KERNEL
 KERNEL_INSTALL_DIR="$KERNEL_BUILD_DIR/build-done/kernel-UP"
 rm -rf $KERNEL_INSTALL_DIR
-BuildConfig
 %if %{with up}
+BuildConfig
 BuildKernel
 PreInstallKernel
 %endif
@@ -745,8 +745,8 @@
 # SMP KERNEL
 KERNEL_INSTALL_DIR="$KERNEL_BUILD_DIR/build-done/kernel-SMP"
 rm -rf $KERNEL_INSTALL_DIR
-BuildConfig smp
 %if %{with smp}
+BuildConfig smp
 BuildKernel smp
 PreInstallKernel smp
 %endif
@@ -1261,6 +1261,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2006/12/14 00:56:55  shadzik
+- fix smp build if passed --without up (try not to BuildConfig for an UP mashine when you just want the SMP one and vice versa)
+
 Revision 1.20  2006/12/11 23:16:27  shadzik
 - 2.6.19.1, not tested yet
 
================================================================

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



More information about the pld-cvs-commit mailing list