Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
8 changes: 0 additions & 8 deletions boards/common/nrf52/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@ endif
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk

# The following configuration are dependencies specific, specifically they need
# to know if 'nordic_softdevice_ble' is used. The dependencies are not known
# because BOARDs Makefile.include are included before Makefile.dep
# This HACK can be removed either when Makefile.include is included after
# Makefile.features (see #9913) or if 'nordic_softdevice_ble' is deprecated.
-include $(APPDIR)/Makefile.board.dep
include $(BOARDDIR)/Makefile.dep

PROGRAMMER ?= jlink
ifeq (jlink,$(PROGRAMMER))
# setup JLink for flashing
Expand Down