summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorPaul Lind <plind@mips.com>2012-08-03 08:54:28 -0700
committerPaul Lind <plind@mips.com>2012-08-07 10:27:50 -0700
commit7dd039766e8bea164f5e14cb9ab26c59d3b9a5bd (patch)
treef6682b377e296999108989b1519c8de5672b96b1 /build
parent0abec4daa38319f371ac6555e7887f6b14f34291 (diff)
downloadexternal_chromium-7dd039766e8bea164f5e14cb9ab26c59d3b9a5bd.zip
external_chromium-7dd039766e8bea164f5e14cb9ab26c59d3b9a5bd.tar.gz
external_chromium-7dd039766e8bea164f5e14cb9ab26c59d3b9a5bd.tar.bz2
Add MIPS architecture support
Change-Id: Id2c3f41edee0e1c73cb084666533802bcf117876 Signed-off-by: Douglas Leung <douglas@mips.com> Signed-off-by: Chris Dearman <chris@mips.com>
Diffstat (limited to 'build')
-rw-r--r--build/build_config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/build_config.h b/build/build_config.h
index cedac01..b17531d 100644
--- a/build/build_config.h
+++ b/build/build_config.h
@@ -117,6 +117,11 @@
#define ARCH_CPU_ARMEL 1
#define ARCH_CPU_32_BITS 1
#define WCHAR_T_IS_UNSIGNED 1
+#elif defined(__MIPSEL__)
+#define ARCH_CPU_MIPS_FAMILY 1
+#define ARCH_CPU_MIPSEL 1
+#define ARCH_CPU_32_BITS 1
+#define WCHAR_T_IS_UNSIGNED 0
#else
#error Please add support for your architecture in build/build_config.h
#endif