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:
parent
e7c3282886
commit
c26f2c9d70
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user