diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2022-10-26 21:52:10 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-10-28 20:58:10 +0000 |
commit | ab9a716db1e256b4b95cb3679b0ade49b488b938 (patch) | |
tree | bdff671e5ad3e71e30ab56f4f084f34a2fd72e28 /common | |
parent | 1847c8822918092dd2d6268f81d8875e6372bfd6 (diff) | |
download | chrome-ec-ab9a716db1e256b4b95cb3679b0ade49b488b938.tar.gz |
test: sensor tests: Include what we need
Do not include LID_ANGLE when the test is not exercising that code.
Include math library whenever it is needed.
BUG=None
BRANCH=none
TEST=make -j buildall passes.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Change-Id: I3e0fe478e7970155cc9d2b8cae590ae5ce7b4392
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3984437
Reviewed-by: Boris Mittelberg <bmbm@google.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/build.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/build.mk b/common/build.mk index ef429058f2..c9b2630de5 100644 --- a/common/build.mk +++ b/common/build.mk @@ -29,6 +29,7 @@ common-$(CONFIG_ACCEL_LIS2DH)+=math_util.o common-$(CONFIG_ACCEL_LIS2DS)+=math_util.o common-$(CONFIG_ACCEL_KXCJ9)+=math_util.o common-$(CONFIG_ACCEL_KX022)+=math_util.o +common-$(CONFIG_BODY_DETECTION)+=math_util.o common-$(CONFIG_TEMP_SENSOR_TMP112)+=math_util.o common-$(CONFIG_TEMP_SENSOR_PCT2075)+=math_util.o ifneq ($(CORE),cortex-m) |