summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d49d5d5..619d6c3 100644
--- a/Makefile
+++ b/Makefile
@@ -122,6 +122,10 @@ ifdef CONFIG_driver_sen5x
CXX_TARGETS += src/driver/sen5x.cc
endif
+ifdef CONFIG_driver_sen66
+ CXX_TARGETS += src/driver/sen66.cc
+endif
+
ifdef CONFIG_driver_veml6075
CXX_TARGETS += src/driver/veml6075.cc
endif
@@ -265,6 +269,11 @@ endif
default: build/system.elf
+# When running ./mp arch=... app=..., a .config file is not needed.
+# Create an empty one if it does not exist yet.
+.config:
+ touch .config
+
include/config.h: .config
${QUIET}test -z "${app}" && awk -f script/conf2h.awk .config > include/config.h || : > include/config.h