diff options
Diffstat (limited to 'make-mips.sh')
-rwxr-xr-x | make-mips.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/make-mips.sh b/make-mips.sh new file mode 100755 index 0000000..a6f64e9 --- /dev/null +++ b/make-mips.sh | |||
@@ -0,0 +1,9 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | export PATH="/home/mcrute/buildroot-2017.05.1/output/host/usr/bin/:$PATH" | ||
4 | |||
5 | if ! grep 'CC = mips-buildroot-linux-uclibc-gcc' Makefile >/dev/null 2>&1; then | ||
6 | make clean | ||
7 | ./configure --build x86_64-linux-gnu --host mips-buildroot-linux-uclibc --enable-debug | ||
8 | fi | ||
9 | make | ||