mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
35e74ad725
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.
14 lines
376 B
Makefile
14 lines
376 B
Makefile
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
|