update to 5.15.85
headers: fix x86 external modules build by installing arch/x86/Makefile_32.cpu (and other build files from this dir) [release 5.15.85-1mamba;Sat Dec 24 2022]
This commit is contained in:
parent
3b3bbd5b12
commit
3fc3c79810
16
kernel.spec
16
kernel.spec
@ -1,10 +1,6 @@
|
|||||||
# openmamba kernel specfile
|
# openmamba kernel specfile
|
||||||
# Copyright (C) 2004-2022 by Silvan Calarco
|
|
||||||
# Copyright (C) 2004-2006 by Davide Madrisan
|
|
||||||
# released under the GPL version 3 license
|
|
||||||
#
|
#
|
||||||
# To build a specific target:
|
# To build a specific target:
|
||||||
#
|
|
||||||
# rpmbuild -ba --define="KERNEL_TARGET <target>" kernel.spec
|
# rpmbuild -ba --define="KERNEL_TARGET <target>" kernel.spec
|
||||||
#
|
#
|
||||||
# To cross-compile:
|
# To cross-compile:
|
||||||
@ -99,7 +95,7 @@
|
|||||||
%define _use_internal_dependency_generator 1
|
%define _use_internal_dependency_generator 1
|
||||||
|
|
||||||
Name: kernel
|
Name: kernel
|
||||||
Version: 5.15.74
|
Version: 5.15.85
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: The Linux Kernel, the operating system core itself
|
Summary: The Linux Kernel, the operating system core itself
|
||||||
Group: System/Kernel and Hardware
|
Group: System/Kernel and Hardware
|
||||||
@ -120,7 +116,6 @@ URL: https://www.kernel.org/
|
|||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libelf-devel
|
|
||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libopenssl-devel
|
||||||
BuildRequires: libperl
|
BuildRequires: libperl
|
||||||
BuildRequires: libyaml-devel
|
BuildRequires: libyaml-devel
|
||||||
@ -190,6 +185,9 @@ Provides: kernelsanitisedheaders = %{version}
|
|||||||
Sanitised kernel headers used for glibc build.
|
Sanitised kernel headers used for glibc build.
|
||||||
This kernel sanitised headers are configured for %{TARGET_CPU} architecture and the following target: %{?KERNEL_TARGET}.
|
This kernel sanitised headers are configured for %{TARGET_CPU} architecture and the following target: %{?KERNEL_TARGET}.
|
||||||
|
|
||||||
|
# Don't clean build at the end
|
||||||
|
%global __spec_rmbuild_cmd /bin/true
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
@ -368,7 +366,7 @@ build_dir=%{buildroot}%{_prefix}/src/linux-%{kernel_ver}%{KERNEL_LOCALVER}
|
|||||||
|
|
||||||
install -Dt ${build_dir} -m644 .config Makefile Module.symvers System.map localversion.* version
|
install -Dt ${build_dir} -m644 .config Makefile Module.symvers System.map localversion.* version
|
||||||
install -Dt ${build_dir}/kernel -m644 kernel/Makefile
|
install -Dt ${build_dir}/kernel -m644 kernel/Makefile
|
||||||
install -Dt ${build_dir}/arch/${headers_arch} -m644 arch/${headers_arch}/Makefile
|
install -Dt ${build_dir}/arch/${headers_arch} -m644 arch/${headers_arch}/Makefile* arch/${headers_arch}/Kbuild
|
||||||
cp -t ${build_dir} -a scripts
|
cp -t ${build_dir} -a scripts
|
||||||
|
|
||||||
# add objtool for external module building and enabled VALIDATION_STACK option
|
# add objtool for external module building and enabled VALIDATION_STACK option
|
||||||
@ -591,6 +589,10 @@ fi
|
|||||||
/lib/modules/%{kernel_ver}%{?KERNEL_LOCALVER}/build
|
/lib/modules/%{kernel_ver}%{?KERNEL_LOCALVER}/build
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Dec 24 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.85-1mamba
|
||||||
|
- update to 5.15.85
|
||||||
|
- headers: fix x86 external modules build by installing arch/x86/Makefile_32.cpu (and other build files from this dir)
|
||||||
|
|
||||||
* Sat Oct 22 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.74-1mamba
|
* Sat Oct 22 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.74-1mamba
|
||||||
- update to 5.15.74
|
- update to 5.15.74
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user