2014-03-03 10:05:36 +01:00
|
|
|
include $(RIOTBASE)/Makefile.pseudomodules
|
2014-03-28 22:55:56 +01:00
|
|
|
include $(RIOTBASE)/Makefile.defaultmodules
|
|
|
|
|
|
|
|
USEMODULE += $(filter-out $(DISABLE_MODULE), $(DEFAULT_MODULE))
|
2014-03-03 10:05:36 +01:00
|
|
|
|
2014-01-03 20:07:52 +01:00
|
|
|
INCLUDES += -I$(RIOTBASE)/core/include -I$(RIOTBASE)/drivers/include -I$(RIOTBASE)/sys/include
|
2013-02-11 22:10:03 +01:00
|
|
|
ED = $(USEMODULE:%=-DMODULE_%)
|
2014-02-19 03:18:46 +01:00
|
|
|
ED += $(USEPKG:%=-DMODULE_%)
|
2014-02-24 14:52:50 +01:00
|
|
|
EXTDEFINES = $(shell echo $(sort $(ED))|tr 'a-z' 'A-Z')
|
|
|
|
REALMODULES = $(filter-out $(PSEUDOMODULES), $(sort $(USEMODULE)))
|
|
|
|
export BASELIBS = $(REALMODULES:%=$(BINDIR)%.a)
|
2013-05-16 17:12:22 +02:00
|
|
|
|
2013-02-06 13:20:21 +01:00
|
|
|
CFLAGS += $(EXTDEFINES)
|
|
|
|
|
|
|
|
export USEMODULE
|