aboutsummaryrefslogtreecommitdiff
path: root/mpy-cross
diff options
context:
space:
mode:
authorDamien George2019-05-31 14:37:11 +1000
committerDamien George2019-06-03 14:44:44 +1000
commit41739506589ec8397613c86d8f682fb7f86c0a9f (patch)
tree0abff25a1816251a5cbd33f2dd4fe6ebd6e3d843 /mpy-cross
parent0a6c479187d0b50a92b65f639e377678bde8034e (diff)
mpy-cross: Do not automatically build mpy-cross, rather do it manually.
Building mpy-cross automatically leads to some issues with the build process and slows it down. Instead, require it to be built manually.
Diffstat (limited to 'mpy-cross')
-rw-r--r--mpy-cross/Makefile17
1 files changed, 0 insertions, 17 deletions
diff --git a/mpy-cross/Makefile b/mpy-cross/Makefile
index 4ff96fc80..2116cc670 100644
--- a/mpy-cross/Makefile
+++ b/mpy-cross/Makefile
@@ -1,20 +1,3 @@
-# The following is a temporary hack to forefully undefine vars that might have
-# be defined by a calling Makefile (from recursive make).
-# TODO: Find a better way to be able to call this Makefile recursively.
-ifneq ($(findstring undefine,$(.FEATURES)),)
-override undefine COPT
-override undefine CFLAGS_EXTRA
-override undefine LDFLAGS_EXTRA
-override undefine MICROPY_FORCE_32BIT
-override undefine CROSS_COMPILE
-override undefine FROZEN_DIR
-override undefine FROZEN_MPY_DIR
-override undefine USER_C_MODULES
-override undefine SRC_MOD
-override undefine BUILD
-override undefine PROG
-endif
-
include ../py/mkenv.mk
# define main target