From 4c036f38a8dbfdc2da9c431e76751368d837e29f Mon Sep 17 00:00:00 2001
From: Daniel Friesel <daniel.friesel@uos.de>
Date: Fri, 30 Aug 2019 14:45:52 +0200
Subject: [PATCH] add dummy driver support

---
 Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Makefile b/Makefile
index f9c245e..7b92ba7 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,11 @@ ifneq (${app}, )
 	include src/app/${app}/Makefile.inc
 endif
 
+ifneq ($(findstring dummy,${drivers}), )
+	CXX_TARGETS += src/driver/dummy.cc
+	COMMON_FLAGS += -DDRIVER_DUMMY
+endif
+
 ifneq ($(findstring lm75,${drivers}), )
 	CXX_TARGETS += src/driver/lm75.cc
 	COMMON_FLAGS += -DDRIVER_LM75
-- 
GitLab