We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfb1bee commit 10b1834Copy full SHA for 10b1834
py/py.mk
@@ -33,8 +33,11 @@ ifneq ($(USER_C_MODULES),)
33
# pre-define USERMOD variables as expanded so that variables are immediate
34
# expanded as they're added to them
35
36
-# Confirm the provided path exists, show abspath if not to make it clearer to fix.
+# Confirm the provided path exists, show abspath if not to make it clearer to fix. Check skipped for mpy-cross build.
37
+ifneq ($(PROG),mpy-cross)
38
$(if $(wildcard $(USER_C_MODULES)/.),,$(error USER_C_MODULES doesn't exist: $(abspath $(USER_C_MODULES))))
39
+endif
40
+
41
42
# C/C++ files that are included in the QSTR/module build
43
SRC_USERMOD_C :=
0 commit comments