From 40765915b45d14a859247464027cabf70c1f31b5 Mon Sep 17 00:00:00 2001 From: Frank Hunleth Date: Sat, 9 Jan 2016 23:26:23 -0500 Subject: [PATCH] Fix Linux headers build on OSX for i586 --- ...ot-build-the-Linux-kernels-relocs-utility.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 patches/linux/3.4.110/100-Do-not-build-the-Linux-kernels-relocs-utility.patch diff --git a/patches/linux/3.4.110/100-Do-not-build-the-Linux-kernels-relocs-utility.patch b/patches/linux/3.4.110/100-Do-not-build-the-Linux-kernels-relocs-utility.patch new file mode 100644 index 0000000..ac83cf3 --- /dev/null +++ b/patches/linux/3.4.110/100-Do-not-build-the-Linux-kernels-relocs-utility.patch @@ -0,0 +1,26 @@ +From ad5672200cc0e64b57c4e356d1ae0e083aacfac5 Mon Sep 17 00:00:00 2001 +From: Frank Hunleth +Date: Sat, 9 Jan 2016 23:14:45 -0500 +Subject: [PATCH] Do not build the Linux kernels relocs utility + +This utility isn't needed for building headers and it breaks the build on OSX. +--- + arch/x86/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/x86/Makefile b/arch/x86/Makefile +index f1276aa..759eb68 100644 +--- a/arch/x86/Makefile ++++ b/arch/x86/Makefile +@@ -135,7 +135,7 @@ KBUILD_CFLAGS += $(mflags-y) + KBUILD_AFLAGS += $(mflags-y) + + archscripts: +- $(Q)$(MAKE) $(build)=arch/x86/tools relocs ++ #$(Q)$(MAKE) $(build)=arch/x86/tools relocs + + ### + # Syscall table generation +-- +2.5.4 (Apple Git-61) + -- 2.5.4 (Apple Git-61)