mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Makefile.include: resolve dependencies before Makefile.include
This commit is contained in:
parent
a665fcc542
commit
4383599220
@ -363,6 +363,12 @@ include $(RIOTBASE)/Makefile.features
|
||||
include $(RIOTMAKE)/pseudomodules.inc.mk
|
||||
include $(RIOTMAKE)/defaultmodules.inc.mk
|
||||
|
||||
# handle removal of default modules
|
||||
USEMODULE += $(filter-out $(DISABLE_MODULE), $(DEFAULT_MODULE))
|
||||
|
||||
# process dependencies
|
||||
include $(RIOTMAKE)/dependency_resolution.inc.mk
|
||||
|
||||
# Include Board and CPU configuration
|
||||
INCLUDES += $(addprefix -I,$(wildcard $(BOARDDIR)/include))
|
||||
include $(BOARDDIR)/Makefile.include
|
||||
@ -385,12 +391,6 @@ include $(RIOTMAKE)/toolchain/$(TOOLCHAIN).inc.mk
|
||||
# For more information, see http://petereisentraut.blogspot.com/2011/09/ccache-and-clang-part-2.html
|
||||
export CCACHE_CPP2=yes
|
||||
|
||||
# handle removal of default modules
|
||||
USEMODULE += $(filter-out $(DISABLE_MODULE), $(DEFAULT_MODULE))
|
||||
|
||||
# process dependencies
|
||||
include $(RIOTMAKE)/dependency_resolution.inc.mk
|
||||
|
||||
ifeq ($(strip $(MCU)),)
|
||||
MCU = $(CPU)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user