From: Clark Williams <[email protected]>

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 <[email protected]>

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
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to