summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-06-27 06:51:47 +0100
committerSam James <sam@gentoo.org>2023-06-27 07:30:05 +0100
commitdbb9d56b483ca0f3760f712f4f327ecfd32d3368 (patch)
tree51e29a4989910978f2460226bc74b29bd8e941a1 /6.4/00_all_0002-x86-do-not-build-relocs-tool-when-installing-headers.patch
parent6.3: new patchset, clone of 6.2 (diff)
downloadlinux-headers-patches-dbb9d56b483ca0f3760f712f4f327ecfd32d3368.tar.gz
linux-headers-patches-dbb9d56b483ca0f3760f712f4f327ecfd32d3368.tar.bz2
linux-headers-patches-dbb9d56b483ca0f3760f712f4f327ecfd32d3368.zip
6.4: new patchset, clone of 6.3
* 6.4/00_all_0001-unifdef-drop-unused-errno.h-include.patch * 6.4/00_all_0002-x86-do-not-build-relocs-tool-when-installing-headers.patch Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to '6.4/00_all_0002-x86-do-not-build-relocs-tool-when-installing-headers.patch')
-rw-r--r--6.4/00_all_0002-x86-do-not-build-relocs-tool-when-installing-headers.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/6.4/00_all_0002-x86-do-not-build-relocs-tool-when-installing-headers.patch b/6.4/00_all_0002-x86-do-not-build-relocs-tool-when-installing-headers.patch
new file mode 100644
index 0000000..c1c7214
--- /dev/null
+++ b/6.4/00_all_0002-x86-do-not-build-relocs-tool-when-installing-headers.patch
@@ -0,0 +1,33 @@
+From 57875de37c5375ea95e1e949ec7c741d0038d3a1 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Sat, 15 Nov 2014 03:37:38 -0500
+Subject: [PATCH] x86: do not build relocs tool when installing headers
+
+This isn't needed to install headers, so don't bother building it.
+Otherwise we run into a chicken/egg issue where we need the kernel
+headers in order to install the kernel headers. It's also a waste
+of time.
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ arch/x86/Makefile | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/arch/x86/Makefile b/arch/x86/Makefile
+index 60135cbd905c..9b15b2daa77f 100644
+--- a/arch/x86/Makefile
++++ b/arch/x86/Makefile
+@@ -215,8 +215,10 @@
+ endif
+
+
++ifneq ($(filter-out headers_install,$(MAKECMDGOALS)),)
+ archscripts: scripts_basic
+ $(Q)$(MAKE) $(build)=arch/x86/tools relocs
++endif
+
+ ###
+ # Syscall table generation
+--
+2.16.1
+