mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
d70741d666
PD#SWPL-99041 Problem: reconstruct dsp host driver Solution: config CONFIG_AMLOGIC_MCU_DRIVER to enable mcu driver the new driver support multiple dsp/m4 cores Verify: a1/c1/c2/sc2/t3/t3x/t7/t7c Change-Id: Ib1e666e615260bb5b7377a18eeaaf8daa65de86f Signed-off-by: Liming Xue <liming.xue@amlogic.com>
12 lines
369 B
Makefile
12 lines
369 B
Makefile
# SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
|
|
# Makefile for amlogic mcu host driver
|
|
|
|
MODULE_NAME = amlogic-host
|
|
obj-$(CONFIG_AMLOGIC_HOST_DRIVER) = $(MODULE_NAME).o
|
|
$(MODULE_NAME)-$(CONFIG_AMLOGIC_HOST_DRIVER) += host.o sysfs.o host_poll.o
|
|
|
|
PR_FMT = $(subst amlogic-,,$(MODULE_NAME))
|
|
PR_FMT_DEFINE="-Dpr_fmt(fmt)= \"[$(PR_FMT)]: \" fmt"
|
|
ccflags-y += $(PR_FMT_DEFINE)
|