Browse Source
Almost everything was build sequentially in RIOT, because we employed explicit for-loops to build directories (DIRS). This PR makes our make system use normal dependencies to build directories. All our compiling rules were duplicated, once for the application, once for modules. This PR makes the application a normal module, removing this duplication.dev/timer

4 changed files with 41 additions and 52 deletions
@ -0,0 +1,13 @@
|
||||
MODULE = $(APPLICATION)
|
||||
|
||||
DIRS += $(RIOTCPU)/$(CPU) $(RIOTBOARD)/$(BOARD)
|
||||
DIRS += $(RIOTBASE)/core $(RIOTBASE)/drivers $(RIOTBASE)/sys
|
||||
|
||||
ifneq (,$(filter embunit,$(USEMODULE))) |
||||
DIRS += $(RIOTBASE)/tests/unittests/embunit/embUnit
|
||||
endif |
||||
ifneq (,$(filter embunit_textui,$(USEMODULE))) |
||||
DIRS += $(RIOTBASE)/tests/unittests/embunit/textui
|
||||
endif |
||||
|
||||
include $(RIOTBASE)/Makefile.base |
Loading…
Reference in new issue