summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2018-06-19 00:15:23 +0100
committerMike Frysinger <vapier@gentoo.org>2018-06-19 00:15:23 +0100
commitb992677feb8c18f6a67629578b0c8497a5c48638 (patch)
treed1b54083cbf41737963d1826b4b442f42a50a36a /4.16/00_all_0006-x86-do-not-build-relocs-tool-when-installing-headers.patch
parentrip-headers.sh: add ripping of missing 'kernel/syscalls' directory for s390 (diff)
downloadlinux-headers-patches-b992677feb8c18f6a67629578b0c8497a5c48638.tar.gz
linux-headers-patches-b992677feb8c18f6a67629578b0c8497a5c48638.tar.bz2
linux-headers-patches-b992677feb8c18f6a67629578b0c8497a5c48638.zip
import 4.16 headers that were released based on 4.15
Diffstat (limited to '4.16/00_all_0006-x86-do-not-build-relocs-tool-when-installing-headers.patch')
-rw-r--r--4.16/00_all_0006-x86-do-not-build-relocs-tool-when-installing-headers.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/4.16/00_all_0006-x86-do-not-build-relocs-tool-when-installing-headers.patch b/4.16/00_all_0006-x86-do-not-build-relocs-tool-when-installing-headers.patch
new file mode 100644
index 0000000..caf7645
--- /dev/null
+++ b/4.16/00_all_0006-x86-do-not-build-relocs-tool-when-installing-headers.patch
@@ -0,0 +1,33 @@
+From 1847182448312b5c0879821291d48870ed64ceef 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 fad55160dcb9..c561b5f1206c 100644
+--- a/arch/x86/Makefile
++++ b/arch/x86/Makefile
+@@ -238,8 +238,10 @@ ifdef CONFIG_RETPOLINE
+ 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
+