mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-28 07:51:19 +01:00
make: actually disable a DISABLED_MODULE
This commit is contained in:
parent
926e1937cc
commit
bac1ac3b59
@ -298,6 +298,7 @@ ifneq (, $(filter all, $(if $(MAKECMDGOALS), $(MAKECMDGOALS), all)))
|
||||
ifneq (, $(filter $(DISABLE_MODULE), $(USEMODULE)))
|
||||
$(shell $(COLOR_ECHO) "$(COLOR_RED)Required modules were disabled using DISABLE_MODULE:$(COLOR_RESET)"\
|
||||
"$(sort $(filter $(DISABLE_MODULE), $(USEMODULE)))" 1>&2)
|
||||
USEMODULE := $(filter-out $(DISABLE_MODULE), $(USEMODULE))
|
||||
EXPECT_ERRORS := 1
|
||||
endif
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user