aboutsummaryrefslogtreecommitdiff
path: root/unix
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-08-11 20:53:22 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-08-06 16:31:00 +0300
commit71f04004c835d872af926ff6e432fc953456b7a9 (patch)
tree6c302d35140ab9f07925e87e44d0cd6c679d5f3b /unix
parent6f76327566f2ba2316ad8e8b75514d8237861245 (diff)
micropython.mipsel: Runner script for MIPS build, using QEMU.
Diffstat (limited to 'unix')
-rwxr-xr-xunix/micropython.mipsel7
1 files changed, 7 insertions, 0 deletions
diff --git a/unix/micropython.mipsel b/unix/micropython.mipsel
new file mode 100755
index 000000000..25b5e44ef
--- /dev/null
+++ b/unix/micropython.mipsel
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+OPENWRT_SDK=~/toolchain/OpenWrt-SDK-brcm47xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2
+
+qemu-mipsel -L $OPENWRT_SDK/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33.2 \
+ -E LD_LIBRARY_PATH=$OPENWRT_SDK/staging_dir/target-mipsel_uClibc-0.9.33.2/usr/lib \
+ $(dirname $0)/micropython "$@"