From fc3325b1134f76d4d36aa0e01d5a68891b174ca8 Mon Sep 17 00:00:00 2001
From: Oliver Hahm <oleg@hobbykeller.org>
Date: Sun, 31 Mar 2013 22:14:06 +0200
Subject: [PATCH] * set MCU to CPU if undefined

---
 Makefile.include | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile.include b/Makefile.include
index 43713b27b4..e5fadea984 100644
--- a/Makefile.include
+++ b/Makefile.include
@@ -2,6 +2,9 @@ ifeq ($(strip $(RIOTCPU)),)
 	export RIOTCPU =$(RIOTBASE)/cpu
 endif
 	
+ifeq ($(strip $(MCU)),)
+	MCU = $(CPU)
+endif
 
 # if you want to publish the board into the sources as an uppercase #define
 BB = $(shell echo $(BOARD)|tr 'a-z' 'A-Z')
-- 
GitLab