19 lines
557 B
Makefile
19 lines
557 B
Makefile
# SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|||
|
|
#
|
||
|
|
# Makefile for GPU AVBC Driver
|
||
|
|
#
|
||
|
|
|
||
|
|
# Kernel build configuration
|
||
|
|
obj-$(CONFIG_AMLOGIC_GPU_AVBC) += amlogic_gpu_avbc.o
|
||
|
|
|
||
|
|
ccflags-y += -Dpr_fmt\(fmt\)=\"[gpu_avbc]:\ \"\ fmt
|
||
|
|
|
||
|
|
# Core object (always built if CONFIG_AMLOGIC_GPU_AVBC is set)
|
||
|
|
amlogic_gpu_avbc-y = gpu_avbc_core.o gpu_avbc_core_debug.o gpu_avbc_core_sysfs.o
|
||
|
|
|
||
|
|
# MFFC hardware support (default y)
|
||
|
|
amlogic_gpu_avbc-y += gpu_avbc_mffc_hw.o
|
||
|
|
amlogic_gpu_avbc-y += gpu_avbc_mffc.o
|
||
|
|
|
||
|
|
# VICP hardware support (stub, default y)
|
||
|
|
amlogic_gpu_avbc-y += gpu_avbc_vicp.o
|