v923z/micropython-usermod

Question on makeUSERMOD_DIR variable

KejaPower opened this issue · 1 comments

Hello,
I was wonderting where the $(USERMOD_DIR) variable was defined?

Thanks

Old but gold. A quick grep -r USERMOD_DIR reveals a file in the docs dir cmodules.rst ;)

Basically this variable is defined by the build system for every module.

For clarification, it's the makefile of one of the ports that ultimately triggers it.

example:
~/micropython/ports/unix$ make USER_C_MODULES=../../examples/usercmodule/