We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85f7b0b commit ed6d254Copy full SHA for ed6d254
mpy-cross/Makefile
@@ -1,13 +1,15 @@
1
# The following is a temporary hack to forefully undefine vars that might have
2
# be defined by a calling Makefile (from recursive make).
3
# TODO: Find a better way to be able to call this Makefile recursively.
4
+ifneq ($(findstring undefine,$(.FEATURES)),)
5
override undefine COPT
6
override undefine CFLAGS_EXTRA
7
override undefine LDFLAGS_EXTRA
8
override undefine FROZEN_DIR
9
override undefine FROZEN_MPY_DIR
10
override undefine BUILD
11
override undefine PROG
12
+endif
13
14
include ../py/mkenv.mk
15
0 commit comments