diff options
author | Tom Hughes <tomhughes@chromium.org> | 2019-10-01 15:08:19 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-10-03 01:16:43 +0000 |
commit | 8357a4fb160bda9a3c926c674492cb604421b7f1 (patch) | |
tree | f8687171fc120bedf920b88cb0cbbb7f270e8597 /common/fpsensor/build.mk | |
parent | a10b8681986558e47c44fd8941e2532ea941319f (diff) | |
download | chrome-ec-8357a4fb160bda9a3c926c674492cb604421b7f1.tar.gz |
fpsensor: Fix public build
Add stubs for fp_sensor_init and fp_sensor_deinit when building without
the private FP sensor files.
BRANCH=none
BUG=b:124773209,b:141924178
TEST=make buildall -j
Change-Id: Ie85a4bb0e568b205ada0d378ae658e8fe478c0a9
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1834274
Reviewed-by: Nicolas Norvez <norvez@chromium.org>
Diffstat (limited to 'common/fpsensor/build.mk')
-rw-r--r-- | common/fpsensor/build.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/fpsensor/build.mk b/common/fpsensor/build.mk index 7df7dbaf28..9556515f2f 100644 --- a/common/fpsensor/build.mk +++ b/common/fpsensor/build.mk @@ -12,3 +12,6 @@ all-obj-$(HAS_TASK_FPSENSOR)+=$(_fpsensor_dir)fpsensor_crypto.o ifneq ($(CONFIG_SPI_FP_PORT),) all-obj-$(HAS_TASK_FPSENSOR)+=$(_fpsensor_dir)fpsensor.o endif +ifeq ($(HAS_MOCK_FPSENSOR),) +all-obj-$(HAS_TASK_FPSENSOR)+=$(_fpsensor_dir)fpsensor_stubs.o +endif |