mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
make: handle disabled default modules before dependencies
This commit is contained in:
parent
f2754a4dfc
commit
5aa3a2b4b7
@ -286,11 +286,12 @@ ifneq ($(GNRC_NETIF_NUMOF),1)
|
||||
CFLAGS += -DGNRC_NETIF_NUMOF=$(GNRC_NETIF_NUMOF)
|
||||
endif
|
||||
|
||||
# handle removal of default modules
|
||||
USEMODULE += $(filter-out $(DISABLE_MODULE), $(DEFAULT_MODULE))
|
||||
|
||||
# process dependencies
|
||||
include $(RIOTBASE)/Makefile.dep
|
||||
|
||||
USEMODULE += $(filter-out $(DISABLE_MODULE), $(DEFAULT_MODULE))
|
||||
|
||||
ifeq ($(strip $(MCU)),)
|
||||
MCU = $(CPU)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user