mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
e740fbc800
Closes #926
18 lines
536 B
Makefile
18 lines
536 B
Makefile
UNDEF += $(BINDIR)startup.o
|
|
|
|
include $(RIOTBASE)/Makefile.pseudomodules
|
|
include $(RIOTBASE)/Makefile.defaultmodules
|
|
|
|
USEMODULE += $(filter-out $(DISABLE_MODULE), $(DEFAULT_MODULE))
|
|
|
|
INCLUDES += -I$(RIOTBASE)/core/include -I$(RIOTBASE)/drivers/include -I$(RIOTBASE)/sys/include
|
|
ED = $(USEMODULE:%=-DMODULE_%)
|
|
ED += $(USEPKG:%=-DMODULE_%)
|
|
EXTDEFINES = $(shell echo $(ED)|tr 'a-z' 'A-Z')
|
|
REALMODULES = $(filter-out $(PSEUDOMODULES), $(USEMODULE))
|
|
export BASELIBS = $(REALMODULES:%= $(BINDIR)%.a)
|
|
|
|
CFLAGS += $(EXTDEFINES)
|
|
|
|
export USEMODULE
|