From e7c3282886dac3a68e20bfdcfbf3f16b08fc40f4 Mon Sep 17 00:00:00 2001 From: Martin Lenders <mail@martin-lenders.de> Date: Tue, 4 Mar 2014 14:58:34 +0100 Subject: [PATCH] =?UTF-8?q?Replace=20'-'=20with=20'=5F'=20in=20BOARD=20and?= =?UTF-8?q?=20CPU=5F=E2=80=A6=20macros?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile.include | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.include b/Makefile.include index 0946733ab1..2de1086b03 100644 --- a/Makefile.include +++ b/Makefile.include @@ -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 -- GitLab