summaryrefslogtreecommitdiff
path: root/driver/fingerprint/elan/build.mk
blob: 791cce9e73522116846b5b621d95115e5c8c4d82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2021 The ChromiumOS Authors
# 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