mirror of
https://src.opensuse.org/kernelbugs/kernel-source.git
synced 2026-07-10 15:16:51 +02:00
GIT Revision: 5d31a95c3fc60422efb739def20feefbf5d4d151
GIT Branch: SL-16.0 2025-12-11 09:18:13 +0000
This commit is contained in:
+11
-11
@@ -19,7 +19,7 @@
|
||||
|
||||
%define srcversion 6.12
|
||||
%define patchversion 6.12.0
|
||||
%define git_commit e886bd764b0ab26ae2559bc7661a5d4f8ee2cfd2
|
||||
%define git_commit 5d31a95c3fc60422efb739def20feefbf5d4d151
|
||||
%define variant %{nil}
|
||||
%define compress_modules zstd
|
||||
%define compress_vmlinux xz
|
||||
@@ -42,7 +42,7 @@
|
||||
Name: kernel-64kb
|
||||
Version: 6.12.0
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.ge886bd7
|
||||
Release: <RELEASE>.g5d31a95
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@@ -79,6 +79,11 @@ BuildRequires: dwarves >= 1.22
|
||||
BuildRequires: %gcc_package
|
||||
# for objtool
|
||||
BuildRequires: libelf-devel
|
||||
# part of elfutils not shipped on SLE 12
|
||||
%if 0%{?suse_version} >= 1500
|
||||
# for gendwarfksyms
|
||||
BuildRequires: libdw-devel
|
||||
%endif
|
||||
# required for 50-check-kernel-build-id rpm check
|
||||
BuildRequires: elfutils
|
||||
%ifarch %arm
|
||||
@@ -1282,14 +1287,7 @@ echo "Kernel debuginfo type: ${DEBUG_INFO_TYPE}"
|
||||
--set-str CONFIG_LOCALVERSION -%source_rel-%build_flavor \
|
||||
--enable CONFIG_SUSE_KERNEL \
|
||||
$CONFIG_SUSE_KERNEL_RELEASED \
|
||||
$CONFIG_SUSE_HAVE_STABLE_KABI \
|
||||
%if 0%{?__debug_package:1}
|
||||
--enable CONFIG_DEBUG_INFO
|
||||
%else
|
||||
--disable CONFIG_DEBUG_INFO \
|
||||
--disable CONFIG_DEBUG_INFO_"${DEBUG_INFO_TYPE}" \
|
||||
--enable CONFIG_DEBUG_INFO_NONE
|
||||
%endif
|
||||
$CONFIG_SUSE_HAVE_STABLE_KABI
|
||||
|
||||
if [ %CONFIG_MODULE_SIG = "y" ]; then
|
||||
if [ -n "%certs" ] ; then
|
||||
@@ -1418,9 +1416,11 @@ fi
|
||||
|
||||
%install
|
||||
|
||||
%if 0%{?__debug_package:1}
|
||||
# get rid of /usr/lib/rpm/brp-strip-debug
|
||||
# strip removes too much from the vmlinux ELF binary
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
%endif
|
||||
# strip removes too much from the vmlinux ELF binary
|
||||
export STRIP_KEEP_SYMTAB='*/vmlinux*'
|
||||
|
||||
# %kernel_module_directory/%kernelrelease-%build_flavor/source points to the source
|
||||
|
||||
Reference in New Issue
Block a user