diff --git a/Makefile.include b/Makefile.include index 2de1086b03b209dbc9b9d06885faa657af289491..84579d07076d32891490e6cb03143e343622213d 100644 --- a/Makefile.include +++ b/Makefile.include @@ -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