mirror of
https://abf.rosa.ru/djam/kernel-6.7-xanmod.git
synced 2025-02-24 09:32:49 +00:00
Set the missing config options
This commit is contained in:
parent
0fca21edc4
commit
1d3485b8be
3 changed files with 13 additions and 4 deletions
|
@ -7978,6 +7978,8 @@ CONFIG_DYNAMIC_DEBUG=y
|
|||
# Compile-time checks and compiler options
|
||||
#
|
||||
# CONFIG_DEBUG_INFO is not set
|
||||
# CONFIG_DEBUG_INFO_SPLIT is not set
|
||||
# CONFIG_DEBUG_INFO_REDUCED is not set
|
||||
CONFIG_ENABLE_WARN_DEPRECATED=y
|
||||
CONFIG_ENABLE_MUST_CHECK=y
|
||||
CONFIG_FRAME_WARN=1024
|
||||
|
|
|
@ -488,6 +488,7 @@ CONFIG_SECCOMP=y
|
|||
CONFIG_SCHED_HRTICK=y
|
||||
CONFIG_KEXEC=y
|
||||
CONFIG_KEXEC_FILE=y
|
||||
# CONFIG_KEXEC_VERIFY_SIG is not set
|
||||
CONFIG_CRASH_DUMP=y
|
||||
CONFIG_KEXEC_JUMP=y
|
||||
CONFIG_PHYSICAL_START=0x1000000
|
||||
|
@ -7799,6 +7800,8 @@ CONFIG_DYNAMIC_DEBUG=y
|
|||
# Compile-time checks and compiler options
|
||||
#
|
||||
# CONFIG_DEBUG_INFO is not set
|
||||
# CONFIG_DEBUG_INFO_SPLIT is not set
|
||||
# CONFIG_DEBUG_INFO_REDUCED is not set
|
||||
CONFIG_ENABLE_WARN_DEPRECATED=y
|
||||
CONFIG_ENABLE_MUST_CHECK=y
|
||||
CONFIG_FRAME_WARN=2048
|
||||
|
|
12
kernel.spec
12
kernel.spec
|
@ -167,9 +167,9 @@ Patch1: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/patch-%{kve
|
|||
Source10: ftp://ftp.kernel.org/pub/linux/kernel/v%{kernelversion}.x/patch-%{kversion}.sign
|
||||
|
||||
# ROSA-specific patches
|
||||
%ifarch %{ix86}
|
||||
Patch10: revert-mm-meminit-only-set-page-reserved-in-the-memblock-re.patch
|
||||
%endif
|
||||
# We need to apply this one only when building 32-bit kernels but RPM
|
||||
# does not care if the patch is in an if-block, unfortunately...
|
||||
Source91: revert-mm-meminit-only-set-page-reserved-in-the-memblock-re.patch
|
||||
|
||||
# Adds explicit linking of the Perf Python extension with libdl, thus fixing
|
||||
# the build.
|
||||
|
@ -585,6 +585,10 @@ cd %src_dir
|
|||
|
||||
%apply_patches
|
||||
|
||||
%ifarch %{ix86}
|
||||
patch -p1 --fuzz=0 < %{SOURCE91}
|
||||
%endif
|
||||
|
||||
%if %{enhanced_security}
|
||||
patch -p1 --fuzz=0 < %{SOURCE701}
|
||||
%endif
|
||||
|
@ -596,7 +600,7 @@ patch -p1 --fuzz=0 < %{SOURCE701}
|
|||
# Configs
|
||||
cp %{SOURCE110} .
|
||||
%if %build_debug
|
||||
sed -i 's/# CONFIG_DEBUG_INFO is not set/CONFIG_DEBUG_INFO=y\n# CONFIG_DEBUG_INFO_REDUCED is not set/' \
|
||||
sed -i 's/# CONFIG_DEBUG_INFO is not set/CONFIG_DEBUG_INFO=y\nCONFIG_DEBUG_INFO_DWARF4=y\nCONFIG_GDB_SCRIPTS=y/' \
|
||||
./kernel-%{arch_suffix}.config
|
||||
%endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue