summaryrefslogtreecommitdiff
path: root/Makefile.ext_modules.felix
blob: 2d8f9bff20e9e94d3d822918ba66a0be16b0b6e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# SPDX-License-Identifier: GPL-2.0-only

rel_path := ../google-modules

ext_modules :=
ext_modules += amplifiers/cs35l41
ext_modules += amplifiers/cs35l45
ext_modules += amplifiers/cs40l26
ext_modules += amplifiers/drv2624
ext_modules += amplifiers/audiometrics
ext_modules += aoc
ext_modules += aoc/alsa
ext_modules += aoc/usb
ext_modules += bluetooth/broadcom
ext_modules += bms
ext_modules += display/samsung
ext_modules += edgetpu/janeiro/drivers/edgetpu
ext_modules += gpu/mali_kbase
ext_modules += gpu/mali_pixel
ext_modules += gxp/gs201
ext_modules += lwis
ext_modules += nfc
ext_modules += power/reset
ext_modules += sensors/hall_sensor
ext_modules += touch/common
ext_modules += ../devices/google/felix/touch/ftm5
ext_modules += ../devices/google/felix/touch/fst2
ext_modules += wlan/wlan_ptracker
ext_modules += wlan/bcmdhd4389
ext_modules += video/gchips
ext_modules += ../devices/google/felix/display
ext_modules += fingerprint/fpc

# Add any modules which have their own UAPI headers to this list.  This will
# cause the build to run the module makefile with headers_install target.
has_uapi_headers :=
has_uapi_headers += touch/common
has_uapi_headers += video/gchips

install_uapi_headers_targets := $(has_uapi_headers:=_headers_install)

ifneq ($(wildcard $(KERNEL_SRC)/$(rel_path)/uwb/kernel),)
ext_modules += uwb/kernel
endif

.PHONY: $(ext_modules) $(install_uapi_headers_targets) depmod allmodules

allmodules: $(ext_modules) $(install_uapi_headers_targets) depmod

../devices/google/felix/touch/ftm5: | touch/common
../devices/google/felix/touch/fst2: | touch/common

aoc/alsa: | aoc

aoc/usb: | aoc/alsa aoc

power/reset: | bms

../devices/google/felix/display: | display/samsung

# amplifiers/cs35l45 and amplifiers/cs35l41 both build identical version of
# snd-soc-wm-adsp.ko. To make sure the makefiles don't step on each other,
# create this fake order only dependency
# TODO(b/198105924): Identically named kernel modules: snd-soc-wm-adsp.ko
amplifiers/cs35l45: | amplifiers/cs35l41

gxp/gs201: | edgetpu/janeiro/drivers/edgetpu

include $(KERNEL_SRC)/Makefile.ext_modules.include