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.
16 lines
488 B
Makefile
16 lines
488 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_%)
|
|
EXTDEFINES = $(shell echo $(ED)|tr 'a-z' 'A-Z')
|
|
BL=$(USEMODULE:%= $(BINDIR)%.a)
|
|
|
|
# exclude hwtimer, because it is part of the kernel but the define is needed for auto_init
|
|
export BASELIBS = $(shell echo $(BL)|sed 's/[^ ]*hwtimer.a//')
|
|
|
|
CFLAGS += $(EXTDEFINES)
|
|
|
|
export USEMODULE
|