Browse Source

Merge pull request #2951 from authmillenon/make/enh/disable-actual

make: actually disable a DISABLED_MODULE
dev/timer
Oleg Hahm 8 years ago
parent
commit
12df25fb67
  1. 1
      Makefile.include

1
Makefile.include

@ -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…
Cancel
Save