forked from Minki/linux
78b50f3914
Allow the topology code to be compiled out so that users who don't need topology don't need to havve the code compiled in, saving them some memory. Some more configuration could be added to remove some of the hooks into the core data structures but that is probably best done with some refactoring to use functions to do the updates of the data structures rather than ifdefing in the code as we'd need to do at the minute. Suggested-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Mark Brown <broonie@kernel.org>
47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
snd-soc-core-objs := soc-core.o soc-dapm.o soc-jack.o soc-cache.o soc-utils.o
|
|
snd-soc-core-objs += soc-pcm.o soc-compress.o soc-io.o soc-devres.o soc-ops.o
|
|
|
|
ifneq ($(CONFIG_SND_SOC_TOPOLOGY),)
|
|
snd-soc-core-objs += soc-topology.o
|
|
endif
|
|
|
|
ifneq ($(CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM),)
|
|
snd-soc-core-objs += soc-generic-dmaengine-pcm.o
|
|
endif
|
|
|
|
ifneq ($(CONFIG_SND_SOC_AC97_BUS),)
|
|
snd-soc-core-objs += soc-ac97.o
|
|
endif
|
|
|
|
obj-$(CONFIG_SND_SOC) += snd-soc-core.o
|
|
obj-$(CONFIG_SND_SOC) += codecs/
|
|
obj-$(CONFIG_SND_SOC) += generic/
|
|
obj-$(CONFIG_SND_SOC) += adi/
|
|
obj-$(CONFIG_SND_SOC) += atmel/
|
|
obj-$(CONFIG_SND_SOC) += au1x/
|
|
obj-$(CONFIG_SND_SOC) += bcm/
|
|
obj-$(CONFIG_SND_SOC) += blackfin/
|
|
obj-$(CONFIG_SND_SOC) += cirrus/
|
|
obj-$(CONFIG_SND_SOC) += davinci/
|
|
obj-$(CONFIG_SND_SOC) += dwc/
|
|
obj-$(CONFIG_SND_SOC) += fsl/
|
|
obj-$(CONFIG_SND_SOC) += jz4740/
|
|
obj-$(CONFIG_SND_SOC) += intel/
|
|
obj-$(CONFIG_SND_SOC) += mediatek/
|
|
obj-$(CONFIG_SND_SOC) += mxs/
|
|
obj-$(CONFIG_SND_SOC) += nuc900/
|
|
obj-$(CONFIG_SND_SOC) += omap/
|
|
obj-$(CONFIG_SND_SOC) += kirkwood/
|
|
obj-$(CONFIG_SND_SOC) += pxa/
|
|
obj-$(CONFIG_SND_SOC) += qcom/
|
|
obj-$(CONFIG_SND_SOC) += rockchip/
|
|
obj-$(CONFIG_SND_SOC) += samsung/
|
|
obj-$(CONFIG_SND_SOC) += sh/
|
|
obj-$(CONFIG_SND_SOC) += sirf/
|
|
obj-$(CONFIG_SND_SOC) += spear/
|
|
obj-$(CONFIG_SND_SOC) += tegra/
|
|
obj-$(CONFIG_SND_SOC) += txx9/
|
|
obj-$(CONFIG_SND_SOC) += ux500/
|
|
obj-$(CONFIG_SND_SOC) += xtensa/
|
|
obj-$(CONFIG_SND_SOC) += zte/
|