From c26f2c9d70b0243ebc1fc3733d9d94a2616e0c57 Mon Sep 17 00:00:00 2001
From: Martin Lenders <mail@martin-lenders.de>
Date: Tue, 4 Mar 2014 15:52:44 +0100
Subject: [PATCH] Fix BOARD macro

---
 Makefile.include | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.include b/Makefile.include
index 2de1086b03..84579d0707 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
 
-- 
GitLab