tests/site_scons/platforms/mipsel/mipsel.py
raw| 1 | # Compiler settings for running the tests on mipsel-linux-gnu using |
| 2 | # qemu. Requires following packages to be installed: |
| 3 | # gcc-mipsel-linux-gnu g++-mipsel-linux-gnu qemu-user |
| 4 | |
| 5 | def set_mipsel_platform(env): |
| 6 | env.Replace(EMBEDDED = "MIPSEL") |
| 7 | env.Replace(CC = "mipsel-linux-gnu-gcc", |
| 8 | CXX = "mipsel-linux-gnu-g++") |
| 9 | env.Replace(TEST_RUNNER = "/usr/bin/qemu-mipsel") |
| 10 | env.Append(LINKFLAGS = "-static") |
| 11 |