blob: 2e4ad2d46fbbf43d1ad80449ca79b6460cf45c83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Build for ELAN fingerprint drivers
# Note that this variable includes the trailing "/"
_elan_cur_dir:=$(dir $(lastword $(MAKEFILE_LIST)))
ifneq (,$(filter rw,$(CONFIG_FP_SENSOR_ELAN80) $(CONFIG_FP_SENSOR_ELAN515)))
# Make sure output directory is created (in build directory)
dirs-y+="$(_elan_cur_dir)"
include $(_elan_cur_dir)../../../private/fingerprint/elan/build.mk
all-obj-rw+=$(_elan_cur_dir)elan_private.o
all-obj-rw+=$(_elan_cur_dir)elan_sensor_pal.o
endif
|