diff options
author | Mike Crute <mcrute@gmail.com> | 2017-07-10 04:02:40 +0000 |
---|---|---|
committer | Mike Crute <mcrute@gmail.com> | 2017-07-10 04:02:40 +0000 |
commit | 48f5e1fae0258aa64bd7648b31edf142b2e6a9c0 (patch) | |
tree | cc985d5d0aafb17d48fdd4027328d082d09fbcf9 /make-mips.sh | |
download | mfi_agent-master.tar.bz2 mfi_agent-master.tar.xz mfi_agent-master.zip |
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 | ||