aboutsummaryrefslogtreecommitdiff
path: root/circuitpython/mpy-cross/Makefile.m1
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2022-06-19 19:47:51 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2022-06-19 19:47:51 +0530
commit4fd287655a72b9aea14cdac715ad5b90ed082ed2 (patch)
tree65d393bc0e699dd12d05b29ba568e04cea666207 /circuitpython/mpy-cross/Makefile.m1
parent0150f70ce9c39e9e6dd878766c0620c85e47bed0 (diff)
add circuitpython code
Diffstat (limited to 'circuitpython/mpy-cross/Makefile.m1')
-rw-r--r--circuitpython/mpy-cross/Makefile.m110
1 files changed, 10 insertions, 0 deletions
diff --git a/circuitpython/mpy-cross/Makefile.m1 b/circuitpython/mpy-cross/Makefile.m1
new file mode 100644
index 0000000..34e9841
--- /dev/null
+++ b/circuitpython/mpy-cross/Makefile.m1
@@ -0,0 +1,10 @@
+# SPDX-FileCopyrightText: 2014 MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)
+#
+# SPDX-License-Identifier: MIT
+
+PROG=mpy-cross-arm64
+BUILD=build-arm64
+
+include mpy-cross.mk
+# Because mpy-cross.mk unconditionally overwrites CC for Darwin, we must set it BELOW the inclusion
+CC := $(shell xcrun --sdk macosx11.1 --find clang) -isysroot $(shell xcrun --sdk macosx11.1 --show-sdk-path) -target arm64-apple-macos11