Browse Source

make: include DEFAULT_MODULES from cpu and boards

dev/timer
Oleg Hahm 8 years ago
parent
commit
aef6256cc5
  1. 2
      Makefile.include
  2. 1
      Makefile.modules

2
Makefile.include

@ -97,6 +97,8 @@ include $(RIOTBOARD)/$(BOARD)/Makefile.include
include $(RIOTCPU)/$(CPU)/Makefile.include
include $(RIOTBASE)/Makefile.dep
USEMODULE += $(filter-out $(DISABLE_MODULE), $(DEFAULT_MODULE))
ifeq ($(strip $(MCU)),)
MCU = $(CPU)
endif

1
Makefile.modules

@ -1,7 +1,6 @@
include $(RIOTBASE)/Makefile.pseudomodules
include $(RIOTBASE)/Makefile.defaultmodules
USEMODULE += $(filter-out $(DISABLE_MODULE), $(DEFAULT_MODULE))
USEMODULE := $(filter-out $(filter-out $(FEATURES_PROVIDED), $(FEATURES_OPTIONAL)), $(sort $(USEMODULE)))
INCLUDES += -I$(RIOTBASE)/core/include -I$(RIOTBASE)/drivers/include -I$(RIOTBASE)/sys/include

Loading…
Cancel
Save