summaryrefstree
path: root/kernel/sound/soc/codecs/tfa9874/Makefile
blob: d400bc549ea328eb80d91c348886c2e2146532ec (plain)
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
# NXP audio amplifier - TFA98xx

TFA_VERSION              =tfa9874

TFADSP_DSP_BUFFER_POOL=1
TFA_EXCEPTION_AT_TRANSITION=1
TFA_USE_DEVICE_SPECIFIC_CONTROL=1
TFA_PROFILE_ON_DEVICE    =1
TFA_SOFTDSP              =1
TFA_SRC_DIR              =sound/soc/codecs/$(TFA_VERSION)

# cc flags
ccflags-y               := -DDEBUG
ccflags-y               += -DTFA98XX_GIT_VERSIONS
ccflags-y               += -I$(TFA_SRC_DIR)/inc
ccflags-y               += -Werror
#ccflags-y               += -DTFA_DEBUG

EXTRA_CFLAGS += -I$(TFA_SRC_DIR)/inc

snd-soc-tfa98xx-objs += src/tfa98xx.o
snd-soc-tfa98xx-objs += src/tfa_container.o
snd-soc-tfa98xx-objs += src/tfa_dsp.o
snd-soc-tfa98xx-objs += src/tfa_init.o

# built-in driver
obj-y	+= snd-soc-tfa98xx.o