summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel.spec12
1 files changed, 8 insertions, 4 deletions
diff --git a/kernel.spec b/kernel.spec
index 8258a94a1..d811a6073 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -508,6 +508,10 @@ Source5000: patch-4.%{base_sublevel}-git%{gitrev}.xz
# build tweak for build ID magic, even for -vanilla
Source5005: kbuild-AFTER_LINK.patch
+# Maybe related to perf build failures?
+Patch852: 0001-Revert-tools-build-Support-compiling-C-source-file.patch
+Patch853: 0002-Revert-tools-build-Add-support-for-host-programs-for.patch
+
%if !%{nopatches}
# Git trees.
@@ -632,10 +636,6 @@ Patch849: 0001-iio-Use-event-header-from-kernel-tree.patch
# Fix came in locally
Patch851: 0001-drivers-net-phy-Correct-duplicate-MDIO_XGENE-entry.patch
-# Maybe related to perf build failures?
-Patch852: 0001-Revert-tools-build-Support-compiling-C-source-file.patch
-Patch853: 0002-Revert-tools-build-Add-support-for-host-programs-for.patch
-
# END OF PATCH DEFINITIONS
%endif
@@ -1236,6 +1236,10 @@ done
# file and apply it separately from the rest.
git am %{SOURCE5005}
+# fix build errors with perf
+ApplyPatch 0001-Revert-tools-build-Support-compiling-C-source-file.patch
+ApplyPatch 0002-Revert-tools-build-Add-support-for-host-programs-for.patch
+
%if !%{nopatches}
git am %{patches}