summaryrefslogtreecommitdiff
path: root/common/build.mk
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2020-10-21 16:11:07 -0700
committerCommit Bot <commit-bot@chromium.org>2020-11-06 01:43:08 +0000
commit851daf728dca124f4bb2b6d27238d3952be5cf2b (patch)
tree5a7725232cc1992a74340e6540fb2ba80e6b7896 /common/build.mk
parent8dfdaa83815669c50f70332932fa35614ef2e4f6 (diff)
downloadchrome-ec-851daf728dca124f4bb2b6d27238d3952be5cf2b.tar.gz
motion: orientation: update interface
Enabling orientation sensor would not compile anymore. Fix interface by replacing macros with functions. BUG=chromium:718919 BRANCH=none TEST=Compile when enabled on grunt and eve. Change-Id: Ic5d6992d040cde79ef3f691db494804e160b7650 Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2491266 Reviewed-by: Ching-Kang Yen <chingkang@chromium.org>
Diffstat (limited to 'common/build.mk')
-rw-r--r--common/build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/build.mk b/common/build.mk
index e255e44d72..aec737d1f2 100644
--- a/common/build.mk
+++ b/common/build.mk
@@ -108,6 +108,7 @@ common-$(CONFIG_MAG_CALIBRATE)+= mag_cal.o math_util.o vec3.o mat33.o mat44.o \
common-$(CONFIG_MKBP_EVENT)+=mkbp_event.o
common-$(CONFIG_OCPC)+=ocpc.o
common-$(CONFIG_ONEWIRE)+=onewire.o
+common-$(CONFIG_ORIENTATION_SENSOR)+=motion_orientation.o
common-$(CONFIG_PECI_COMMON)+=peci.o
common-$(CONFIG_POWER_BUTTON)+=power_button.o
common-$(CONFIG_POWER_BUTTON_X86)+=power_button_x86.o