How does `USEMODULE` work?

Hi Team,

I am trying to get a better understanding of how the build system works in RIOT. I have noticed symbols named USEMODULE_XX being generated for every module I include in the Makefile and similarly for packages as well. May I know how are these symbols generated?

Hi Akshaim,

take a look at makefiles/modules.inc.mk, they’re generated there.

Kaspar

1 Like