summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2018-06-19 02:06:57 +0000
committerMike Frysinger <vapier@gentoo.org>2018-06-19 02:06:57 +0000
commite9589811d2c76c6278c3a5bdfaa88a3f26bd9a3f (patch)
tree7d48f0e86289c0b55a9b0800f08802cbea7f39c3 /src/patchsets/gentoo-headers/4.17/00_all_0006-x86-do-not-build-relocs-tool-when-installing-headers.patch
parentimport 4.16 headers that were released based on 4.15 (diff)
downloadgentoo-e9589811d2c76c6278c3a5bdfaa88a3f26bd9a3f.tar.gz
gentoo-e9589811d2c76c6278c3a5bdfaa88a3f26bd9a3f.tar.bz2
gentoo-e9589811d2c76c6278c3a5bdfaa88a3f26bd9a3f.zip
initial 4.17 patchset based on last 4.16 patchset
Diffstat (limited to 'src/patchsets/gentoo-headers/4.17/00_all_0006-x86-do-not-build-relocs-tool-when-installing-headers.patch')
-rw-r--r--src/patchsets/gentoo-headers/4.17/00_all_0006-x86-do-not-build-relocs-tool-when-installing-headers.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/patchsets/gentoo-headers/4.17/00_all_0006-x86-do-not-build-relocs-tool-when-installing-headers.patch b/src/patchsets/gentoo-headers/4.17/00_all_0006-x86-do-not-build-relocs-tool-when-installing-headers.patch
new file mode 100644
index 0000000000..c4af343504
--- /dev/null
+++ b/src/patchsets/gentoo-headers/4.17/00_all_0006-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
+@@ -249,8 +249,10 @@ ifneq ($(RETPOLINE_CFLAGS),)
+ endif
+ endif
+
++ifneq ($(filter-out headers_install,$(MAKECMDGOALS)),)
+ archscripts: scripts_basic
+ $(Q)$(MAKE) $(build)=arch/x86/tools relocs
++endif
+
+ ###
+ # Syscall table generation
+--
+2.16.1
+