12 lines
283 B
Makefile
12 lines
283 B
Makefile
# SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
|
|
MODULE_NAME = amlogic-dma
|
|
ccflags-y += -I $(srctree)/drivers/dma/
|
|
|
|
obj-$(CONFIG_AMLOGIC_DMA) = amlogic-dma.o
|
|
|
|
PR_FMT = $(subst amlogic-,,$(MODULE_NAME))
|
|
PR_FMT_DEFINE="-Dpr_fmt(fmt)= \"[$(PR_FMT)]: \" fmt"
|
|
ccflags-y += $(PR_FMT_DEFINE)
|
|
|