aboutsummaryrefslogtreecommitdiff
path: root/circuitpython/mpy-cross/Makefile.static-raspbian
diff options
context:
space:
mode:
Diffstat (limited to 'circuitpython/mpy-cross/Makefile.static-raspbian')
-rw-r--r--circuitpython/mpy-cross/Makefile.static-raspbian11
1 files changed, 11 insertions, 0 deletions
diff --git a/circuitpython/mpy-cross/Makefile.static-raspbian b/circuitpython/mpy-cross/Makefile.static-raspbian
new file mode 100644
index 0000000..8fe78b0
--- /dev/null
+++ b/circuitpython/mpy-cross/Makefile.static-raspbian
@@ -0,0 +1,11 @@
+# SPDX-FileCopyrightText: 2014 MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)
+#
+# SPDX-License-Identifier: MIT
+
+PROG=mpy-cross.static-raspbian
+BUILD=build-static-raspbian
+STATIC_BUILD=1
+
+$(shell if ! [ -d pitools ]; then echo 1>&2 "Fetching pi build tools. This may take awhile."; git clone -q https://github.com/raspberrypi/tools.git --depth=1 pitools; fi)
+CROSS_COMPILE = pitools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-
+include mpy-cross.mk