Skip to content

Commit

Permalink
py/py.mk: Add check that any specified USER_C_MODULES folder exists.
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Leech <[email protected]>
  • Loading branch information
pi-anl committed Oct 16, 2024
1 parent 838f212 commit 590c061
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions py/py.mk
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ ifneq ($(USER_C_MODULES),)
# pre-define USERMOD variables as expanded so that variables are immediate
# expanded as they're added to them

$(if $(wildcard $(USER_C_MODULES)/.),,$(error USER_C_MODULES doesn't exist: $(abspath $(USER_C_MODULES))))

# C/C++ files that are included in the QSTR/module build
SRC_USERMOD_C :=
SRC_USERMOD_CXX :=
Expand Down

0 comments on commit 590c061

Please sign in to comment.