summaryrefslogtreecommitdiff
path: root/src/app/bme680-max44009-logger/Makefile.inc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-01-02 18:07:49 +0100
committerDaniel Friesel <derf@finalrewind.org>2022-01-02 18:07:49 +0100
commitb78f595070a41037a7df04e103a959b6ad68a7bd (patch)
tree5c13c4952e39e9680f61747080018b5b54707a0b /src/app/bme680-max44009-logger/Makefile.inc
parent0319d8f5321cc0f712c7d3dc82362235490995b7 (diff)
bme680-max44009-logger: add POSIX variant with BSEC support
Diffstat (limited to 'src/app/bme680-max44009-logger/Makefile.inc')
-rw-r--r--src/app/bme680-max44009-logger/Makefile.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/app/bme680-max44009-logger/Makefile.inc b/src/app/bme680-max44009-logger/Makefile.inc
index 98b37fe..33d05b0 100644
--- a/src/app/bme680-max44009-logger/Makefile.inc
+++ b/src/app/bme680-max44009-logger/Makefile.inc
@@ -12,4 +12,10 @@ ifdef app
COMMON_FLAGS += -DCONFIG_driver_bme680 -DCONFIG_driver_max44009
endif
-COMMON_FLAGS += -DBME680_FLOAT_POINT_COMPENSATION
+ifdef CONFIG_arch_posix
+ CXX_TARGETS += src/app/${app_dir}/posix.cc
+else
+ CXX_TARGETS += src/app/${app_dir}/generic.cc
+ COMMON_FLAGS += -DBME680_FLOAT_POINT_COMPENSATION
+endif
+