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

Fix BOARD macro

This commit is contained in:
Martin Lenders 2014-03-04 15:52:44 +01:00
parent e7c3282886
commit c26f2c9d70

View File

@ -27,7 +27,7 @@ endif
# if you want to publish the board into the sources as an uppercase #define
BB = $(shell echo $(BOARD)|tr 'a-z' 'A-Z'|tr '-' '_')
CPUDEF = $(shell echo $(CPU)|tr 'a-z' 'A-Z'|tr '-' '_')
CFLAGS += -DBOARD=$(BB) -DCPU_$(CPUDEF)
CFLAGS += -DBOARD_$(BB) -DCPU_$(CPUDEF)
export CFLAGS