1# Compiler settings for running the tests on mips-linux-gnu (big endian)
2# using qemu. Requires following packages to be installed:
3# gcc-mips-linux-gnu g++-mips-linux-gnu qemu-user
4
5def set_mips_platform(env):
6    env.Replace(EMBEDDED = "MIPS")
7    env.Replace(CC  = "mips-linux-gnu-gcc",
8                CXX = "mips-linux-gnu-g++")
9    env.Replace(TEST_RUNNER = "/usr/bin/qemu-mips")
10    env.Append(LINKFLAGS = "-static")
11
12