You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RIOT/Makefile.modules

19 lines
557 B
Makefile

export MAKEBASE =$(RIOTBASE)
UNDEF += $(BINDIR)startup.o
USEMODULE += cpu core sys
INCLUDES += -I$(RIOTBASE)/core/include -I$(RIOTBASE)/drivers/include -I$(RIOTBASE)/sys/include
ED = $(USEMODULE:%=-DMODULE_%)
9 years ago
ED += $(USEPKG:%=-DMODULE_%)
EXTDEFINES = $(shell echo $(ED)|tr 'a-z' 'A-Z')
BL=$(USEMODULE:%= $(BINDIR)%.a)
# Exclude defaulttransceiver, it is only a pseudomodule that adds other
# modules depending on the current board.
export BASELIBS = $(shell echo $(BL)|sed \
-e 's/[^ ]*defaulttransceiver.a//')
CFLAGS += $(EXTDEFINES)
export USEMODULE