From 331714b27d3cc5920d240c9de086e4ce1a69cb2c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 9 Nov 2013 11:42:42 +0100 Subject: allow cross-compile on Darwin --- toolchain/kernel-headers/patches/3.11.5/sgidefs.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 toolchain/kernel-headers/patches/3.11.5/sgidefs.patch diff --git a/toolchain/kernel-headers/patches/3.11.5/sgidefs.patch b/toolchain/kernel-headers/patches/3.11.5/sgidefs.patch new file mode 100644 index 000000000..f00a284d9 --- /dev/null +++ b/toolchain/kernel-headers/patches/3.11.5/sgidefs.patch @@ -0,0 +1,18 @@ +diff -Nur linux-3.11.5.orig/arch/mips/include/uapi/asm/sgidefs.h linux-3.11.5/arch/mips/include/uapi/asm/sgidefs.h +--- linux-3.11.5.orig/arch/mips/include/uapi/asm/sgidefs.h 2013-10-14 03:14:45.000000000 +0200 ++++ linux-3.11.5/arch/mips/include/uapi/asm/sgidefs.h 2013-11-08 22:01:28.000000000 +0100 +@@ -11,14 +11,6 @@ + #define __ASM_SGIDEFS_H + + /* +- * Using a Linux compiler for building Linux seems logic but not to +- * everybody. +- */ +-#ifndef __linux__ +-#error Use a Linux compiler or give up. +-#endif +- +-/* + * Definitions for the ISA levels + * + * With the introduction of MIPS32 / MIPS64 instruction sets definitions -- cgit v1.2.3