diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-12-29 17:49:47 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-12-29 17:49:47 +0100 |
commit | 7fae56dd121069cc5461b75214154e84c89069e5 (patch) | |
tree | 4f91e11a10b3cead331220d506b7c0e53898fe48 /Makefile | |
parent | 9318c681f5e198d9541a3259066f415dbd351af0 (diff) |
Prepare for BME680 BSEC support
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -17,6 +17,7 @@ endif quote=" app_dir = $(subst ${quote},,${CONFIG_app}) arch_dir = $(subst ${quote},,${CONFIG_arch}) +bsec_dir = $(subst ${quote},,${CONFIG_driver_bme680_bsec_path}) INCLUDES = -Iinclude -Iinclude/arch/${arch_dir} CFLAGS = -std=c99 @@ -27,6 +28,7 @@ QUIET = @ ASM_TARGETS = C_TARGETS = CXX_TARGETS = src/app/${app_dir}/main.cc src/object/cpp_helpers.cc src/object/outputstream.cc +SO_TARGETS = ifdef verbose QUIET = @@ -64,6 +66,10 @@ ifdef CONFIG_driver_bme680 CXX_TARGETS += src/driver/bme680.cc src/driver/bme680_util.cc endif +ifdef CONFIG_driver_bme680_bsec + SO_TARGETS += include/arch/${arch_dir}/driver/${bsec_dir}/libalgobsec.a +endif + ifdef CONFIG_driver_ccs811 CXX_TARGETS += src/driver/ccs811.cc endif |