SPECS: template-kernel-module.spec - allow building modules for sm...
sparky
sparky at pld-linux.org
Sun Jan 28 15:49:03 CET 2007
Author: sparky Date: Sun Jan 28 14:49:03 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- allow building modules for smp-only kernel
---- Files affected:
SPECS:
template-kernel-module.spec (1.41 -> 1.42)
---- Diffs:
================================================================
Index: SPECS/template-kernel-module.spec
diff -u SPECS/template-kernel-module.spec:1.41 SPECS/template-kernel-module.spec:1.42
--- SPECS/template-kernel-module.spec:1.41 Wed Jan 24 20:21:17 2007
+++ SPECS/template-kernel-module.spec Sun Jan 28 15:48:58 2007
@@ -6,6 +6,7 @@
# Conditional build:
%bcond_without dist_kernel # allow non-distribution kernel
%bcond_without kernel # don't build kernel modules
+%bcond_without up # don't build UP module
%bcond_without smp # don't build SMP module
%bcond_without userspace # don't build userspace programs
%bcond_with verbose # verbose build (V=1)
@@ -169,9 +170,11 @@
%depmod %{_kernel_ver}smp
%if %{with kernel}
+%if %{with up} || %{without dist_kernel}
%files -n kernel%{_alt_kernel}-MODULE_DIR-MODULE_NAME
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}/MODULE_DIR/*.ko*
+%endif
%if %{with smp} && %{with dist_kernel}
%files -n kernel%{_alt_kernel}-smp-MODULE_DIR-MODULE_NAME
@@ -192,6 +195,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.42 2007/01/28 14:48:58 sparky
+- allow building modules for smp-only kernel
+
Revision 1.41 2007/01/24 19:21:17 glen
- %if %{without ... are okay
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/template-kernel-module.spec?r1=1.41&r2=1.42&f=u
More information about the pld-cvs-commit
mailing list