summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-08-30 14:45:52 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2019-08-30 14:45:52 +0200
commit4c036f38a8dbfdc2da9c431e76751368d837e29f (patch)
tree89fa4073aa3e2fc7d5a97713a091012ffcdf78b7
parent51a3ac91e40fdf65ec0c21e5dd8acaffed1f492b (diff)
add dummy driver support
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
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