summaryrefslogtreecommitdiff
path: root/toolchain/kernel-headers/patches/3.4.52/linux-gcc-check.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-07-10 18:13:16 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-07-10 18:13:16 +0200
commit2bc97af1f4ca05f1e2ffb9c50b8ef717bc2c33a3 (patch)
tree65807b0e8e3475edaa949eb69253c81a65948262 /toolchain/kernel-headers/patches/3.4.52/linux-gcc-check.patch
parent24de0984ed3caa1eb5bdf4d9d4e0b9900e6254eb (diff)
parentd4ae4b9c31f562aa4cd39b51d6d44ec07ac36f26 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/kernel-headers/patches/3.4.52/linux-gcc-check.patch')
-rw-r--r--toolchain/kernel-headers/patches/3.4.52/linux-gcc-check.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/patches/3.4.52/linux-gcc-check.patch b/toolchain/kernel-headers/patches/3.4.52/linux-gcc-check.patch
new file mode 100644
index 000000000..7cc381845
--- /dev/null
+++ b/toolchain/kernel-headers/patches/3.4.52/linux-gcc-check.patch
@@ -0,0 +1,18 @@
+diff -Nur linux-2.6.32.orig/arch/mips/include/asm/sgidefs.h linux-2.6.32/arch/mips/include/asm/sgidefs.h
+--- linux-2.6.32.orig/arch/mips/include/asm/sgidefs.h 2009-12-03 04:51:21.000000000 +0100
++++ linux-2.6.32/arch/mips/include/asm/sgidefs.h 2010-02-14 11:49:21.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