forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/staging/greybus/Makefile
....@@ -1,28 +1,6 @@
11 # SPDX-License-Identifier: GPL-2.0
2
-# Greybus core
3
-greybus-y := core.o \
4
- debugfs.o \
5
- hd.o \
6
- manifest.o \
7
- module.o \
8
- interface.o \
9
- bundle.o \
10
- connection.o \
11
- control.o \
12
- svc.o \
13
- svc_watchdog.o \
14
- operation.o
15
-
16
-obj-$(CONFIG_GREYBUS) += greybus.o
17
-
182 # needed for trace events
193 ccflags-y += -I$(src)
20
-
21
-
22
-# Greybus Host controller drivers
23
-gb-es2-y := es2.o
24
-
25
-obj-$(CONFIG_GREYBUS_ES2) += gb-es2.o
264
275 # Greybus class drivers
286 gb-bootrom-y := bootrom.o
....@@ -50,7 +28,7 @@
5028
5129 # Greybus Audio is a bunch of modules
5230 gb-audio-module-y := audio_module.o audio_topology.o
53
-gb-audio-codec-y := audio_codec.o
31
+gb-audio-codec-y := audio_codec.o audio_helper.o
5432 gb-audio-gb-y := audio_gb.o
5533 gb-audio-apbridgea-y := audio_apbridgea.o
5634 gb-audio-manager-y := audio_manager.o audio_manager_module.o
....@@ -62,8 +40,8 @@
6240 #ccflags-y += -DGB_AUDIO_MANAGER_SYSFS
6341 #endif
6442
65
-obj-$(CONFIG_GREYBUS_AUDIO_MSM8994) += gb-audio-codec.o
66
-obj-$(CONFIG_GREYBUS_AUDIO_MSM8994) += gb-audio-module.o
43
+obj-$(CONFIG_GREYBUS_AUDIO_APB_CODEC) += gb-audio-codec.o
44
+obj-$(CONFIG_GREYBUS_AUDIO_APB_CODEC) += gb-audio-module.o
6745 obj-$(CONFIG_GREYBUS_AUDIO) += gb-audio-gb.o
6846 obj-$(CONFIG_GREYBUS_AUDIO) += gb-audio-apbridgea.o
6947 obj-$(CONFIG_GREYBUS_AUDIO) += gb-audio-manager.o