From: Clark Williams <williams(a)redhat.com>
redhat: turn on debug when using with_automotiveonly
Automotive always want debugging for their builds, so turn on
with_debug when using with_automotiveonly
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
@@ -449,7 +449,7 @@ Summary: The Linux kernel
%define with_realtime 0
%define with_up 0
%define with_pae 0
-%define with_debug 0
+%define with_debug 1
%define with_vdso_install 0
%define with_perf 0
%define with_tools 0
@@ -463,25 +463,6 @@ Summary: The Linux kernel
%define with_efiuki 0
%endif
-# if requested, only build automotive kernel
-%if %{with_rtonly}
-%define with_automotive 1
-%define with_realtime 0
-%define with_up 0
-%define with_pae 0
-%define with_debug 0
-%define with_vdso_install 0
-%define with_perf 0
-%define with_tools 0
-%define with_bpftool 0
-%define with_kernel_abi_stablelists 0
-%define with_selftests 0
-%define with_cross 0
-%define with_cross_headers 0
-%define with_ipaclones 0
-%define with_headers 0
-%endif
-
# turn off kABI DUP check and DWARF-based check if kABI check is disabled
%if !%{with_kabichk}
%define with_kabidupchk 0
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2403