forked from deepin-community/kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKbuild
More file actions
52 lines (45 loc) · 1.45 KB
/
Copy pathKbuild
File metadata and controls
52 lines (45 loc) · 1.45 KB
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
###########################################################
# Set the include-path according to the defined interface.
###########################################################
ccflags-y += -I$(srctree)/$(src) -I$(srctree)/$(src)/if -I$(srctree)/$(src)/dev -I$(srctree)/$(src)/if/v4l2 -I$(srctree)/$(src)/external
ccflags-$(CONFIG_VIDEO_LINLON_FTRACE) += -DMVX_LOG_FTRACE_ENABLE
ccflags-$(CONFIG_VIDEO_LINLON_PRINT_FILE) += -DMVX_LOG_PRINT_FILE_ENABLE
ccflags-y += $(EXTRA_CCFLAGS)
###########################################################
# Define build targets and what files to include.
###########################################################
# Amvx module
obj-$(CONFIG_VIDEO_LINLON) := amvx.o
# Add objects for if module.
if-y := if/mvx_if.o \
if/mvx_buffer.o \
if/mvx_firmware_cache.o \
if/mvx_firmware.o \
if/mvx_firmware_v2.o \
if/mvx_firmware_v3.o \
if/mvx_mmu.o \
if/mvx_secure.o \
if/mvx_session.o
# Add external interface.
if-y += if/v4l2/mvx_ext_v4l2.o \
if/v4l2/mvx_v4l2_buffer.o \
if/v4l2/mvx_v4l2_session.o \
if/v4l2/mvx_v4l2_vidioc.o \
if/v4l2/mvx_v4l2_fops.o \
if/v4l2/mvx_v4l2_ctrls.o
# Add objects for dev module.
dev-y := dev/mvx_dev.o \
dev/mvx_hwreg.o \
dev/mvx_hwreg_v500.o \
dev/mvx_hwreg_v550.o \
dev/mvx_hwreg_v61.o \
dev/mvx_hwreg_v52_v76.o \
dev/mvx_lsid.o \
dev/mvx_scheduler.o \
mvx_pm_runtime.o
# Add driver objects.
amvx-y := mvx_driver.o \
mvx_seq.o \
mvx_log.o \
mvx_log_group.o \
$(if-y) $(dev-y)