Skip to content
Snippets Groups Projects
Commit c26f2c9d authored by Martine Lenders's avatar Martine Lenders
Browse files

Fix BOARD macro

parent e7c32828
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment