|
@@ -2,7 +2,7 @@
|
|
|
# Definitions to configure the kernel we want to build
|
|
|
#
|
|
|
|
|
|
-%global kernel_tag_fc33 kernel-5.9.16-200.fc33
|
|
|
+%global kernel_tag_fc33 kernel-5.10.6-200.fc33
|
|
|
%global kernel_tag_fc32 kernel-5.9.16-100.fc32
|
|
|
|
|
|
%global kernel_release_fc33 1
|
|
@@ -11,7 +11,7 @@
|
|
|
%global fedora_title_fc33 33 (Thirty Three)
|
|
|
%global fedora_title_fc32 32 (Thirty Two)
|
|
|
|
|
|
-%global ls_patches_commit 819ca444a9abdbc8ff741b6ece336aca51e548f9
|
|
|
+%global ls_patches_commit de9f91813811dbc8349ee1af72b662142b2a82ec
|
|
|
|
|
|
%global sb_crt surface.crt
|
|
|
%global sb_key surface.key
|
|
@@ -93,6 +93,10 @@ Patch5: %{surface_source}/%{kernel_patches}/0006-surface-sam.patch
|
|
|
Patch6: %{surface_source}/%{kernel_patches}/0007-surface-hotplug.patch
|
|
|
Patch7: %{surface_source}/%{kernel_patches}/0008-surface-typecover.patch
|
|
|
|
|
|
+%if "%{kernel_majorver}" == "5.10"
|
|
|
+Patch8: %{surface_source}/%{kernel_patches}/0009-cameras.patch
|
|
|
+%endif
|
|
|
+
|
|
|
Patch100: 0001-Add-secureboot-pre-signing-to-the-kernel.patch
|
|
|
|
|
|
ExclusiveArch: x86_64
|
|
@@ -115,7 +119,7 @@ This package provides kernel headers and makefiles sufficient to build modules
|
|
|
against the kernel-surface package.
|
|
|
|
|
|
%prep
|
|
|
-%autosetup -S git -n linux-fedora-%{kernel_tag}
|
|
|
+%autosetup -S git_am -n linux-fedora-%{kernel_tag}
|
|
|
|
|
|
scripts/kconfig/merge_config.sh \
|
|
|
fedora/configs/%{kernel_config} \
|
|
@@ -152,7 +156,11 @@ pathfix.py -i "%{__python3} %{py3_shbang_opts}" -p -n \
|
|
|
tools/perf/scripts/python/stat-cpi.py \
|
|
|
tools/perf/scripts/python/sched-migration.py \
|
|
|
Documentation \
|
|
|
+%if "%{kernel_majorver}" == "5.10"
|
|
|
+ scripts/clang-tools
|
|
|
+%else
|
|
|
scripts/gen_compile_commands.py
|
|
|
+%endif
|
|
|
|
|
|
%build
|
|
|
|