1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/Makefile.modules

17 lines
517 B
Makefile
Raw Normal View History

export MAKEBASE =$(RIOTBASE)
UNDEF += $(BINDIR)startup.o
USEMODULE += cpu core sys
2014-01-03 20:07:52 +01:00
INCLUDES += -I$(RIOTBASE)/core/include -I$(RIOTBASE)/drivers/include -I$(RIOTBASE)/sys/include
ED = $(USEMODULE:%=-DMODULE_%)
2014-02-19 03:18:46 +01:00
ED += $(USEPKG:%=-DMODULE_%)
EXTDEFINES = $(shell echo $(ED)|tr 'a-z' 'A-Z')
BL=$(USEMODULE:%= $(BINDIR)%.a)
2013-05-16 17:12:22 +02:00
# 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//')
2013-05-16 17:12:22 +02:00
CFLAGS += $(EXTDEFINES)
export USEMODULE