summaryrefslogtreecommitdiff
path: root/sound/soc/ux500/Makefile
blob: 262e44a28128fb3d7b1b1c831392fb51feeb3b7c (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Ux500 Platform Support

ifdef CONFIG_SND_SOC_UX500_DEBUG
CFLAGS_u8500.o := -DDEBUG
CFLAGS_ux500_pcm.o := -DDEBUG
CFLAGS_ux500_msp_dai.o := -DDEBUG
CFLAGS_ux500_ab3550.o := -DDEBUG
CFLAGS_ux500_ab8500.o := -DDEBUG
CFLAGS_ux500_av8100.o := -DDEBUG
CFLAGS_ux500_cg29xx.o := -DDEBUG
CFLAGS_ux500_msp_i2s.o := -DDEBUG
endif

ifdef CONFIG_UX500_SOC_DBX500
snd-soc-ux500-platform-objs := ux500_pcm.o ux500_msp_dai.o ux500_msp_i2s.o
obj-y += snd-soc-ux500-platform.o
endif

ifdef CONFIG_SND_SOC_UX500_AB8500
snd-soc-ux500-machine-objs += ux500_ab8500.o
endif

ifdef CONFIG_SND_SOC_UX500_AV8100
snd-soc-ux500-machine-objs += ux500_av8100.o
endif

ifdef CONFIG_SND_SOC_UX500_CG29XX
snd-soc-ux500-machine-objs += ux500_cg29xx.o
endif

ifdef CONFIG_SND_SOC_UX500_AB5500
snd-soc-ux500-machine-objs += ux500_ab5500.o
endif

obj-y += snd-soc-ux500-machine.o

ifdef CONFIG_UX500_SOC_DB8500
snd-soc-u8500-objs := u8500.o
obj-y += snd-soc-u8500.o
endif

ifdef CONFIG_UX500_SOC_DB5500
snd-soc-u5500-objs := u5500.o
obj-y += snd-soc-u5500.o
endif