[projects/template-specs] - drop alt_kernel<>build_kernels conflict error, build_kernels will always take precedence

baggins baggins at pld-linux.org
Sat Aug 1 13:58:10 CEST 2015


commit 048943a84c0a20f77421f0fcad6fc09538788d4c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Aug 1 13:57:34 2015 +0200

    - drop alt_kernel<>build_kernels conflict error, build_kernels will always take precedence

 kernel-module.spec | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/kernel-module.spec b/kernel-module.spec
index 0322e2a..1219065 100644
--- a/kernel-module.spec
+++ b/kernel-module.spec
@@ -9,10 +9,6 @@
 %bcond_without	userspace	# don't build userspace programs
 %bcond_with	verbose		# verbose build (V=1)
 
-%if "%{?alt_kernel}" != "" && 0%{?build_kernels:1}
-	%{error:alt_kernel (%{?alt_kernel}) and build_kernels (%{?build_kernels}) defined}
-%endif
-
 %if 0%{?_pld_builder:1} && %{with kernel} && %{with userspace}
 %{error:kernel and userspace cannot be built at the same time on PLD builders}
 exit 1
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/048943a84c0a20f77421f0fcad6fc09538788d4c



More information about the pld-cvs-commit mailing list