From: Clark Williams <williams(a)redhat.com>
redhat: ensure efiuki is turned off when using rt or auto only macro
If with_rtonly or with_automotiveonly are specified, turn off the
with_efiuki variable.
Also, remove duplicate with_rtonly block
Signed-off-by: Clark Williams <williams(a)redhat.com>
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index blahblah..blahblah 100644
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -440,6 +440,7 @@ Summary: The Linux kernel
%define with_cross_headers 0
%define with_ipaclones 0
%define with_headers 0
+%define with_efiuki 0
%endif
# if requested, only build automotive kernel
@@ -459,6 +460,7 @@ Summary: The Linux kernel
%define with_cross_headers 0
%define with_ipaclones 0
%define with_headers 0
+%define with_efiuki 0
%endif
# if requested, only build automotive kernel
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2403