mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-28 07:51:19 +01:00
* some minor Makefile cleanup
This commit is contained in:
parent
f1044c5ccd
commit
de038ed38c
@ -19,17 +19,15 @@ ifeq ($(CPU),stm32f407vgt6)
|
||||
USEMODULE += stm32f4xxstdperi
|
||||
UNDEF += $(BINDIR)syscalls.o
|
||||
endif
|
||||
ifeq ($(CPU),msp430x16x)
|
||||
USEMODULE += msp430_common
|
||||
endif
|
||||
|
||||
#USEMODULE += cpu_drivers cpu core lib sys
|
||||
USEMODULE += cpu core sys
|
||||
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)
|
||||
|
||||
include $(RIOTBASE)/Makefile.dep
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user