summaryrefslogtreecommitdiff
path: root/target/linux/patches/3.4.109/linux-gcc-check.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-10-07 18:10:06 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-10-07 18:10:06 +0200
commitc6dbc9ca685a52fdd32308fbd64841a12fe7ca4f (patch)
tree3c8f7535256b5fa0d6a7ce9ff26dc42a7a77a46b /target/linux/patches/3.4.109/linux-gcc-check.patch
parent1f713cadaed5a48d8539e6376a0b59627086c43e (diff)
move patch dirs, too
Diffstat (limited to 'target/linux/patches/3.4.109/linux-gcc-check.patch')
-rw-r--r--target/linux/patches/3.4.109/linux-gcc-check.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/patches/3.4.109/linux-gcc-check.patch b/target/linux/patches/3.4.109/linux-gcc-check.patch
new file mode 100644
index 000000000..7cc381845
--- /dev/null
+++ b/target/linux/patches/3.4.109/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