summaryrefslogtreecommitdiff
path: root/Makefile.ext_modules.cloudripper
blob: d10f357a54b150398920d3c4a0a8cc94d90836d9 (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
# SPDX-License-Identifier: GPL-2.0-only

rel_path := ../google-modules

ext_modules :=
ext_modules += amplifiers/audiometrics
ext_modules += amplifiers/cs35l41
ext_modules += amplifiers/cs35l45
ext_modules += amplifiers/cs40l26
ext_modules += amplifiers/drv2624
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 += touch/common
ext_modules += touch/focaltech/ft3658
ext_modules += touch/sec
ext_modules += touch/synaptics
ext_modules += wlan/wlan_ptracker
ext_modules += wlan/bcmdhd4389
ext_modules += video/gchips

# 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/qorvo/dw3000/kernel),)
ext_modules += uwb/qorvo/dw3000/kernel
endif

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

allmodules: $(ext_modules) $(install_uapi_headers_targets) depmod

touch/focaltech/ft3658: | touch/common

touch/sec: | touch/common

touch/synaptics: | touch/common

aoc/alsa: | aoc

aoc/usb: | aoc/alsa aoc

power/reset: | bms

# 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