Index: build/build_config.h |
diff --git a/build/build_config.h b/build/build_config.h |
index a672380b15765967db320068b237156ac82fb632..c222bd42e240c357f36bf2b928be25304c129a13 100644 |
--- a/build/build_config.h |
+++ b/build/build_config.h |
@@ -158,6 +158,18 @@ |
#define ARCH_CPU_32_BITS 1 |
#define ARCH_CPU_LITTLE_ENDIAN 1 |
#endif |
+#elif defined(__MIPSEB__) |
+#if defined(__LP64__) |
+#define ARCH_CPU_MIPS_FAMILY 1 |
+#define ARCH_CPU_MIPS64 1 |
+#define ARCH_CPU_64_BITS 1 |
+#define ARCH_CPU_BIG_ENDIAN 1 |
+#else |
+#define ARCH_CPU_MIPS_FAMILY 1 |
+#define ARCH_CPU_MIPS 1 |
+#define ARCH_CPU_32_BITS 1 |
+#define ARCH_CPU_BIG_ENDIAN 1 |
+#endif |
#else |
#error Please add support for your architecture in build/build_config.h |
#endif |