mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 22:43:50 +01:00
Modules can now add the following snipped to their `Makefile`:
MODULE_SUPPORTS_STATIC_ANALYSIS := 1
When the application is then build with `make STATIC_ANALYSIS=1`, all
modules that opted in to static analysis get build with static analysis.
11 lines
307 B
Makefile
11 lines
307 B
Makefile
# exclude submodule sources from *.c wildcard source selection
|
|
SRC := $(filter-out mbox.c msg.c msg_bus.c thread.c thread_flags.c,$(wildcard *.c))
|
|
|
|
# enable submodules
|
|
SUBMODULES := 1
|
|
|
|
# this module is expected to pass static analysis
|
|
MODULE_SUPPORTS_STATIC_ANALYSIS := 1
|
|
|
|
include $(RIOTBASE)/Makefile.base
|