Skip to content
Snippets Groups Projects
Commit 714178af authored by Oleg Hahm's avatar Oleg Hahm
Browse files

introduce CPU name macro via CFLAG

parent 881593b9
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,8 @@ endif
# if you want to publish the board into the sources as an uppercase #define
BB = $(shell echo $(BOARD)|tr 'a-z' 'A-Z')
CFLAGS += -DBOARD=$(BB)
CPUDEF = $(shell echo $(CPU)|tr 'a-z' 'A-Z')
CFLAGS += -DBOARD=$(BB) -DCPU_$(CPUDEF)
export CFLAGS
# mandatory includes!
......
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