mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Replace '-' with '_' in BOARD and CPU_… macros
This commit is contained in:
parent
a6bc8cba28
commit
e7c3282886
@ -25,8 +25,8 @@ $(error This application does not run on following boards: $(BOARD_BLACKLIST))
|
||||
endif
|
||||
|
||||
# if you want to publish the board into the sources as an uppercase #define
|
||||
BB = $(shell echo $(BOARD)|tr 'a-z' 'A-Z')
|
||||
CPUDEF = $(shell echo $(CPU)|tr 'a-z' 'A-Z')
|
||||
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)
|
||||
|
||||
export CFLAGS
|
||||
|
Loading…
Reference in New Issue
Block a user